
Template::Plugin::XML::Escape - Escape variables to suit being placed into XML

[% USE XML.Escape %] ... <foo bar="[% c.variable | xml_escape %]" />

Escapes XML entities from text, so that you don't fall prey to people putting quotes, less-than/greater-than, and ampersands, into variables that end up in TT templates.

* Template Toolkit

Toby Corkindale, <cpan@corkindale.net>

Copyright (C) 2006 by Toby Corkindale.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.7 or, at your option, any later version of Perl 5 you may have available.