logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

SRU::Utils::XML - XML utility functions for SRU

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.

Name

       SRU::Utils::XML - XML utility functions for SRU

Synopsis

           use SRU::Utils::XML qw( escape );
           return escape( $text );

See Also