Do you know where your variables are? | |
PerlMonks |
XML Parsingby saaz11 (Initiate) |
on Feb 01, 2006 at 16:24 UTC ( [id://527096]=perlquestion: print w/replies, xml ) | Need Help?? |
saaz11 has asked for the wisdom of the Perl Monks concerning the following question:
Hi, I am trying to find out how can I read a value between the start and end tags in an XML file in perl. If I have <Hotel ID = "123" name = "Marriott"></Hotel> I can read this using But if I have <Hotel>Marriott</Hotel> I am not sure how to read "Marriott" in perl. Does anyone have any ideas?
Thanks a lot.
Back to
Seekers of Perl Wisdom
|
|