debian man page for html::template::compiled::plugin::xmlescape

Query: html::template::compiled::plugin::xmlescape

OS: debian

Section: 3pm

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

HTML::Template::Compiled::Plugin::XMLEscape(3pm)	User Contributed Perl Documentation	  HTML::Template::Compiled::Plugin::XMLEscape(3pm)

NAME
HTML::Template::Compiled::Plugin::XMLEscape - XML-Escaping for HTC
SYNOPSIS
use HTML::Template::Compiled::Plugin::XMLEscape; my $htc = HTML::Template::Compiled->new( plugin => [qw(HTML::Template::Compiled::Plugin::XMLEscape)], ... );
METHODS
register gets called by HTC escape_xml escapes data for XML CDATA. escape_xml_attr escapes data for XML attributes
EXAMPLE
use HTML::Template::Compiled::Plugin::XMLEscape; my $htc = HTML::Template::Compiled->new( plugin => [qw(HTML::Template::Compiled::Plugin::XMLEscape)], tagstyle => [qw(-classic -comment -asp +tt)], scalarref => '<foo attr="[%= attribute %]">[%= cdata escape=XML %]</foo>', default_escape => 'XML_ATTR', ); $htc->param( attr => 'foo & bar', cdata => 'text < with > tags', ); print $htc->output; Output: <foo attr="foo &amp; bar">text &lt; with &gt; tags</foo> perl v5.14.2 2012-05-26 HTML::Template::Compiled::Plugin::XMLEscape(3pm)
Related Man Pages
template::plugin::html(3) - centos
html::template::compiled::utils(3pm) - debian
html::template::plugin::dot::helpers(3pm) - debian
template::dbi(3pm) - debian
template::plugin::procedural(3pm) - debian
Similar Topics in the Unix Linux Community
awk or sed - Convert 2 lines to 1 line
How can I do this in VI editor?
Find columns in a file based on header and print to new file
Weird 'find' results
My first PERL incarnation... Audio Oscillograph