kevin_i_orourke has asked for the wisdom of the Perl Monks concerning the following question:
I've been playing around with XML as a way of easing maintenance of my personal website, but mostly just as something to play around with.
Recently I've been using XML::XPath and it seems to do most of the thing I want, however it also seems to strip out entities from the XML it reads.
For example, I have an XHTML input file which I read in, process and write out. When I read it in it contains entities such as é (that's é), when I write it out again they have been deleted. This means that things like 'Port aux Français' come out as 'Port aux Franais', not good.
Any ideas how I can stop this?
-- Kevin O'Rourke
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: XML::XPath and entities
by Gloom (Monk) on May 29, 2001 at 16:09 UTC | |
by kevin_i_orourke (Friar) on Jun 02, 2001 at 02:55 UTC |