I use Perl to take data and create xml files that I can upload. Now I need to go the other direction and convert an XML file into variables.
I've got XML::Parser installed and have played around with a couple of demos. However the demos seem to be more interested in showing you various counts and comments and other useless displays.
Can anybody point me in the right direction of a simple way to just get name=value out of an xml file? In other words, is there one script that will work on multiple xml files or do you have to define every attribute and tag expected?
Any help is greatly appreciated...
I've got XML::Parser installed and have played around with a couple of demos. However the demos seem to be more interested in showing you various counts and comments and other useless displays.
Can anybody point me in the right direction of a simple way to just get name=value out of an xml file? In other words, is there one script that will work on multiple xml files or do you have to define every attribute and tag expected?
Any help is greatly appreciated...