XML::Entities::Data - XML entity definitions


XML-Entities documentation  | view source Contained in the XML-Entities distribution.

Index


Name

Top

XML::Entities::Data - XML entity definitions

Synopsis

Top

 use XML::Entities::Data;
 $ISONUM_map = XML::Entities::Data::isonum;
 $all = XML::Entities::Data::all;
 @available_sets = XML::Entities::Data::names;
 $reverse_mapping = XML::Entities::Data::char2entity('isonum');

 # regenerate the data
 perl download-entities.pl > XML/Entities/Data.pm
 perl download-entities.pl http://from.where.org/ > Data.pm

Description

Top

This module is a bunch of hashes encapsulated by subroutines that map XML entity names to their unicode characters (or strings). It should be used from the XML::Entities module or the hashes it provides can be passed to HTML::Entities::_decode_entities.

The data can be re-generated when definitions are changed or altered or when you want to use another set that is defined someplace online in an .ent file (of type DTD). See the download-entities.pl script.

SEE ALSO

Top

HTML::Entities, XML::Entities

COPYRIGHT

Top


XML-Entities documentation  | view source Contained in the XML-Entities distribution.