SGML::DTDParse::Util - DTDParse utility routines.
Contents
Availability
Copyright And License
See SGML::DTDParse for copyright and license information.
perl v5.32.1 2022-01-21 SGML::DTDParse::Util(3pm)
Description
SGML::DTDParse::Util provides utility routines for DTDParse modules and scripts.
Name
SGML::DTDParse::Util - DTDParse utility routines.
Routines
By default, no routines are exported into the user's namespace. If importing is desired, individual
routines can be specified in the "use" statement or the special tag ":ALL" can be specified to import all
routines.
entify
$xml_str = entify($str);
Replace special characters with entity references. The characters converted are "<", ">", "&", and
""" (double-quote).
See Also
See SGML::DTDParse for an overview of the DTDParse package.
Synopsis
use SGML::DTDParse::Util;
use SGML::DTDParse::Util qw(:ALL);
