Johannne1
asked on
extracting value of an element using XML::Parser
I am trying to take an input xml file and convert it to a text file but I can only use
the XML::Parser library (not the XML:LibXML library). I have been following the online
O Reilly tutorial. I can parse the file, I can print the element name but I cannot print the
value of the elements (eventually I will save these in a file). How can I print the value
ot the element.
example:
I can print MS but cannot print 27724372855
<MS>27724372855</MS> stream-based1.txt
sample5.xml
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Looks great! Thanks!
Think the questioner may have accidentally selected his own comment as the answer or something. Pretty sure he meant to select my comment.
ASKER