|Welcome to the Monastery|
Entity error in XML::XPATHby cognizant (Pilgrim)
|on Mar 03, 2006 at 11:19 UTC||Need Help??|
cognizant has asked for the wisdom of the Perl Monks concerning the following question:
I wanna extract specific elements from the xml file (Example: h1/title). I have tried using XML:XPATH as follows:
I got parsing error b'cos of entities. Hence i've replaced all the entities with some other characters and after extracting all the tags i've replaced back the original entites. I got the result which i need.
I'm sure that there is a better way to do this. Could u pls suggest me the better way?
sample xml file