Jump to content

retrieve all the elements in a XML doc


mwl707

Recommended Posts

in my script I use

 

example = xmlDocument.getElementsByTagName("days");

 

to retrieve a element from an XML file ,

 

What I would like to do is retrieve the information without specifying the tag names , How can I get a list of all the elements so I can run a loop to get all the info ?

 

Thanks for any help .....

Link to comment
https://forums.phpfreaks.com/topic/177218-retrieve-all-the-elements-in-a-xml-doc/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.