Then i used code to find a certain node that had a specific file string. ![]() The xml layout was a 'plist' file so not exactly like regular xml, but you can see how i used the xml path to specify what nodes i was looking for. ![]() my original file had a website written into the DTD part and crashed the attempt to read the file if the computer wasn't online. So to briefly explain i used DTDprocessing settings because the xml file was formatted that way, i found out that if you parse or otherwise try to use the file settings it may try to 'talk' to something else e.g. 'for each node that it finds where the inner text is "Serial Number"(or whatever you want) it reads the next nodes inner text value. 'selects the nodes to read at the specified xml path - check xml file for specific pathÄim MyNodes = XMLDoc.SelectNodes("plist/dict/dict/dict/key") Redsets.DtdProcessing = DtdProcessing.Ignore ![]() Worked out how to do what I needed, figured someone might find the code useful 'loads the xmldocument
0 Comments
Leave a Reply. |