in reply to Perl converting some html entities when I don't want it to

Most likely, your XML parser decodes on reading. But on writing, you don't use an XML writer but use print (or a broken XML writer). Ideally, your XML writer would entity-encode attributes and text nodes.

You will have to show a short, relevant program that reproduces the problem.

  • Comment on Re: Perl converting some html entities when I don't want it to