Get Xml Dom Child Element In Javascript
I have an XML document like this:
Solution 1:
You may use querySelectorAll():
SectionXML.querySelectorAll("section>description")[0]
// use > to get direct element only
You may use querySelectorAll():
SectionXML.querySelectorAll("section>description")[0]
// use > to get direct element only
You may like these posts
Post a Comment for "Get Xml Dom Child Element In Javascript"