DOKK / manpages / debian 10 / libsru-perl / SRU::Utils::XML.3pm.en
SRU::Utils::XML(3pm) User Contributed Perl Documentation SRU::Utils::XML(3pm)

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).

Similar to "element", except that $text is not escaped.

Does minimal escaping on $text.

A shortcut method to create an xml-stylesheet declaration.

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.

2013-10-18 perl v5.20.2