in reply to Decode XML &#xxxx; entities

I didn't test it, but I'd expect XML::Entities::decode function to do exactly that.

If not, that's the right module to extend.

Replies are listed 'Best First'.
Re^2: Decode XML &#xxxx; entities
by saintmike (Vicar) on Dec 04, 2007 at 18:33 UTC
    Not sure if I want to use a module which fails to run the code in its own SYNOPSIS section.
      I agree that it looks unreliable.

      Maybe you should write a bug report, or contact the author - it's a very young module.

      I'm a bit surprised that HTML::Entites can't handle it either (at least that's what a very shallow test of mine showed).

      I search a bit on CPAN for xml entities and found nothing really good.

      So maybe your contributions are really needed ;-)