SYNOPSIS

  use SGML::DTDParse::Util;

  use SGML::DTDParse::Util qw(:ALL);

DESCRIPTION

SGML::DTDParse::Util provides utility routines for DTDParse modules and scripts.

ROUTINES

By default, no routines are exported into the user's namespace. If importing is desired, individual routines can be specified in the \*(C`use\*(C' statement or the special tag \*(C`:ALL\*(C' can be specified to import all routines.

entify

$xml_str = entify($str); Replace special characters with entity references. The characters converted are \*(C`<\*(C', \*(C`>\*(C', \*(C`&\*(C', and \*(C`"\*(C' (double-quote).

RELATED TO SGML::DTDParse::Util…

See SGML::DTDParse for an overview of the DTDParse package.

AVAILABILITY

<http://dtdparse.sourceforge.net/>

AUTHORS

Earl Hood, <[email protected]>.

COPYRIGHT AND LICENSE

See SGML::DTDParse for copyright and license information.