1XML::Entities::Data(3)User Contributed Perl DocumentationXML::Entities::Data(3)
2
3
4

Name

6       XML::Entities::Data - XML entity definitions
7

Synopsis

9        use XML::Entities::Data;
10        $ISONUM_map = XML::Entities::Data::isonum;
11        $all = XML::Entities::Data::all;
12        @available_sets = XML::Entities::Data::names;
13        $reverse_mapping = XML::Entities::Data::char2entity('isonum');
14
15        # regenerate the data
16        perl download-entities.pl > XML/Entities/Data.pm
17        perl download-entities.pl http://from.where.org/ > Data.pm
18

Description

20       This module is a bunch of hashes encapsulated by subroutines that map
21       XML entity names to their unicode characters (or strings).  It should
22       be used from the XML::Entities module or the hashes it provides can be
23       passed to HTML::Entities::_decode_entities.
24
25       The data can be re-generated when definitions are changed or altered or
26       when you want to use another set that is defined someplace online in an
27       .ent file (of type DTD). See the download-entities.pl script.
28

SEE ALSO

30       HTML::Entities, XML::Entities
31
33       Copyright 2010 Jan Oldrich Kruza <sixtease@cpan.org>. All rights
34       reserved.
35
36       This library is free software; you can redistribute it and/or modify it
37       under the same terms as Perl itself.
38
39
40
41perl v5.30.1                      2020-01-30            XML::Entities::Data(3)
Impressum