in reply to single quotes in XML values

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:

use strict; use XML::Parser; my $p = XML::Parser->new(); $p->parsefile('a.xml');
No error messages. So that sample code would be incredibly helpful! Thanks.