I am trying to create a simple Admin page to edit existing XML files and create new XML files. Currently I am using PHP and the SimpleXML parser ( is there a better parser for this). I created a script that can read and write to a specific XML file. However, I would like to be able to use this script on any XML file that pertains to my site. This is where the problem lies, not all my XML files use the same tags. Examples being, news.xml has a different format as gallery.xml. So, I need a function that could loop through the XML file to find the format and tag names (is this even possible)?
thanks for anyhelp!
N
thanks for anyhelp!
N