HTML::Entities will do it for HTML character entities. XML entities could differ. If they're a subset, HTML::Entities lets you specify which should be converted.
In reply to Re: creating an XML string
by steves
in thread creating an XML string
by esharris
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |