http://www.perlmonks.org?node_id=83896


in reply to XML::XPath and entities

Be sure that your xml source have the right encoding, that is ISO-8859-1 for latin1 ( including french characters ). I dont know if it's the solution, but maybe it's a clue =)

Gloom
____________________
Hope this helps

Replies are listed 'Best First'.
Re: Re: XML::XPath and entities
by kevin_i_orourke (Friar) on Jun 02, 2001 at 02:55 UTC

    Unfortunately this doesn't seem to make any difference. I had a play with the different styles of XML::Parser and most of them seem to do the same, just deleting the entities. If I provide my own handlers the entities appear as raw character data.

    Looks like I'm doing something wrong.

    --
    Kevin O'Rourke