Lire::XMLUtils(3pm)

Lire::XMLUtils3pm

Collection of useful functions when processing xml files.

Usage

use Lire::XMLUtils qw/xml_encode/;

Overview

Lire::XMLUtils contains useful functions when processing or writing XML files.

No functions are exported by default, you have to specify the one you want to import in your namespace when you use the module.

The defined functions are:

xml_encode

Converts standard the characters <,>,&," and ' to their XML entities.

Use like this

    print XML_STREAM xml_encode( $value );

Version

$Id: XMLUtils.pm,v 1.1 2002/01/16 20:21:16 flacoste Exp $

Author

Francis J. Lacoste <[email protected]>

From lire 20020214-7 in Debian 3.0 (Woody). Parsed by carta from the page's man source.