Ask a Question

Data Retrival from Xml


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
Esteemed Contributor

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.

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
Showing results for 
Search instead for 
Did you mean: