views:

668

answers:

1

I'm processing some XML files (specifically .vcproj files) in Perl and I want to unescape the special characters. The escaped characters I've encountered so far are:

  • "
  • 
  • 


Obviously I can do this myself but it seems that there should be a standard (or CPAN) module to do this but a naive search brings up nothing relevant.

Any ideas?

+6  A: 

XML::Entities or the older HTML::Entities. I've only used the latter.

Searching probably would have been easier for you if you'd known that these things are called entities; I hate it when I'm in that position of not knowing the key information that would make a search possible.

ysth