SRU::Utils::XML(3pm) User Contributed Perl Documentation SRU::Utils::XML(3pm)
NAME
SRU::Utils::XML - XML utility functions for SRU
SYNOPSIS
use SRU::Utils::XML qw( escape );
return escape( $text );
DESCRIPTION
This is a set of utility functions for use with XML data.
METHODS
element( $tag, $text )
Creates an xml element named $tag containing escaped data ($text).
elementNoEscape( $tag, $text )
Similar to "element", except that $text is not escaped.
escape( $text )
Does minimal escaping on $text.
stylesheet( $uri )
A shortcut method to create an xml-stylesheet declaration.
perl v5.12.4 2009-11-20 SRU::Utils::XML(3pm)