http://qs321.pair.com?node_id=89757

antihero has asked for the wisdom of the Perl Monks concerning the following question:

Is there an XML-related module which can convert characters into their entities (e.g. & turns into &)? I've been using HTML::Entities, but I feel that this isn't exactly the most elegant solution.

Originally posted as a Categorized Question.