SRU::Utils::XML3pm
Xml utility functions for sru
Usage
use SRU::Utils::XML qw( escape );return escape( $text );
Overview
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.
Copyright and license
This software is copyright (c) 2013 by Ed Summers.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
Releases
7 releases since Debian 7 (Wheezy); the text changed 4 times.