-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
39 lines (27 loc) · 1.4 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
NAME
XML::Encoding - A perl module for parsing XML encoding maps.
SYNOPSIS
use XML::Encoding;
my $em_parser = new XML::Encoding(ErrorContext => 2,
ExpatRequired => 1,
PushPrefixFcn => \&push_prefix,
PopPrefixFcn => \&pop_prefix,
RangeSetFcn => \&range_set);
my $encmap_name = $em_parser->parsefile($ARGV[0]);
DESCRIPTION
This module, which is built as a subclass of XML::Parser, provides a parser
for encoding map files, which are XML files. The file maps/encmap.dtd in the
distribution describes the structure of these files. Calling a parse method
returns the name of the encoding map (obtained from the name attribute of
the root element). The contents of the map are processed through the
callback functions push_prefix, pop_prefix, and range_set.
INSTALLATION
See the INSTALL file.
COPYRIGHT
Copyright (C) 1998 Clark Cooper. All rights reserved.
Copyright (C) 2007-2010, 2014, 2020 Steve Hay. All rights reserved.
LICENCE
This distribution is free software; you can redistribute it and/or modify it
under the same terms as Perl itself, i.e. under the terms of either the GNU
General Public License or the Artistic License, as specified in the LICENCE
file.