SRU::Utils::XML - XML utility functions for SRU
use SRU::Utils::XML qw( escape ); return escape( $text );
This is a set of utility functions for use with XML data.
Creates an xml element named $tag containing escaped data ($text).
$tag
$text
Similar to element, except that $text is not escaped.
element
Does minimal escaping on $text.
A shortcut method to create an xml-stylesheet declaration.
To install SRU, copy and paste the appropriate command in to your terminal.
cpanm
cpanm SRU
CPAN shell
perl -MCPAN -e shell install SRU
For more information on module installation, please visit the detailed CPAN module installation guide.