I am very positive I never had any problems putting apostrophes into my XML documents using XML::Twig (which uses XML::Parser under the covers). So I'm not really entirely sure that's the problem yet. Do you have a minimally-working program that shows the error? ("working" has a broad meaning here.) I'd really like to try this out myself.
Thanks,
Update: I saved your xml snippet to "a.xml" here, and created the following:
No error messages. So that sample code would be incredibly helpful! Thanks.use strict; use XML::Parser; my $p = XML::Parser->new(); $p->parsefile('a.xml');
In reply to Re: single quotes in XML values
by Tanktalus
in thread single quotes in XML values
by vili
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |