XML Parsing Problem ..Any suggestions - Printable Version +- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums) +-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP) +--- Forum: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming) +--- Thread: XML Parsing Problem ..Any suggestions (/Thread-XML-Parsing-Problem-Any-suggestions) |
XML Parsing Problem ..Any suggestions - Reed - 08-02-2011 iterating through the xml message works great when the results all have the same number of nodes but what do I do when a node is missing. For Ex. When I ask it to get the LastName value for PlayerID 17486 it grabs it from the next player (84636). I'd like it to be return the correct values within the PlayerFound tag. Code: Set nodes = xmlDoc.SelectNodes("/bookstore/book/title/text()") |