Data Retrival from Xml
SOLVED- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2019
05:20 AM
05-20-2019
05:20 AM
Data Retrival from Xml
Hi Team,
I want retrieve the "Name" and "Value" of ecah and every "Variable" nodes using javascript.
i have attached the Image of my XMl file.
Can you please help me to achieve this.
waiting for your response.
Kind regards,
Sathish Kumark K
Solved! Go to Solution.
1 REPLY 1
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2019
06:15 AM
05-20-2019
06:15 AM
Look into instantiating the MSXML2.DOMDocument object in your code. You can then import the XML into that object and use the various methods available to the object to iterate through child nodes that match a particular pattern.
https://docs.microsoft.com/en-us/previous-versions/windows/desktop/ms756987(v%3Dvs.85)
Robert Martin
[Hall of Fame]
Please consider giving a Kudo if I write good stuff
----
Why automate? I do automated testing because there's only so much a human being can do and remain healthy. Sleep is a requirement. So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.
Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available
