™.. XML::ESISParser - Online Linux Manual PageSection : 3
Updated : 2003-10-21
Source : perl v5.10.1
Note : User Contributed Perl Documentation
NAMEXML::ESISParser − Perl SAX parser using nsgmls
SYNOPSIS use XML::ESISParser;
$parser = XML::ESISParser−>new( [OPTIONS] );
$result = $parser−>parse( [OPTIONS] );
$result = $parser−>parse($string);
DESCRIPTION\*(C`XML::ESISParser\*(C'\fR is a Perl \s-1SAX\s0 parser using the `nsgmls' command of James Clark's SGML Parser (SP), a validating XML and SGML parser. This man page summarizes the specific options, handlers, and properties supported by \*(C`XML::ESISParser\*(C'\fR; please refer to the Perl SAX standard in `\*(C`SAX.pod\*(C'\fR' for general usage information. \*(C`XML::ESISParser\*(C'\fR defaults to parsing \s-1XML\s0 and has an option for parsing SGML. `\*(C`nsgmls\*(C'\fR' source, and binaries for some platforms, is available from <http://www.jclark.com/>. `\*(C`nsgmls\*(C'\fR' is included in both the \s-1SP\s0 and Jade packages.
METHODSnew Creates a new parser object. Default options for parsing, described below, are passed as key-value pairs or as a single hash. Options may be changed directly in the parser object unless stated otherwise. Options passed to `\*(C`parse()\*(C'\fR' override the default options in the parser object for the duration of the parse.
OPTIONSThe following options are supported by \*(C`XML::ESISParser\*(C'\fR: Handler default handler to receive events
DocumentHandler handler to receive document events
DTDHandler handler to receive DTD events
ErrorHandler handler to receive error events
Source hash containing the input source for parsing
IsSGML the document to be parsed is in SGML
If no handlers are provided then all events will be silently ignored. If a single string argument is passed to the `\*(C`parse()\*(C'\fR' method, it is treated as if a `\*(C`Source\*(C'\fR' option was given with a `\f(CW\*(C`String\*(C'\fR' parameter. The `\*(C`Source\*(C'\fR' hash may contain the following parameters: ByteStream The raw byte stream (file handle) containing the
document.
String A string containing the document.
SystemId The system identifier (URI) of the document.
If more than one of `\*(C`ByteStream\*(C'\fR', `\f(CW\*(C`String\*(C'\fR', or `\f(CW\*(C`SystemId\*(C'\fR', then preference is given first to `\*(C`ByteStream\*(C'\fR', then `\f(CW\*(C`String\*(C'\fR', then `\*(C`SystemId\*(C'\fR'.
HANDLERSThe following handlers and properties are supported by \*(C`XML::ESISParser\*(C'\fR:
DocumentHandler methodsstart_document Receive notification of the beginning of a document. No properties defined. end_document Receive notification of the end of a document. No properties defined. start_element Receive notification of the beginning of an element. Name The element type name.
Attributes A hash containing the attributes attached to the
element, if any.
IncludedSubelement This element is an included subelement.
Empty This element is declared empty.
The `\*(C`Attributes\*(C'\fR' hash contains only string values. The `\f(CW\*(C`Empty\*(C'\fR' flag is not set for an element that merely has no content, it is set only if the DTD declares it empty. BETA: Attribute values currently do not expand SData entities into entity objects, they are still in the system data notation used by nsgmls (inside `|'). A future version of XML::ESISParser will also convert other types of attributes into their respective objects, currently just their notation or entity names are given. end_element Receive notification of the end of an element. Name The element type name.
characters Receive notification of character data. Data The characters from the document.
record_end Receive notification of a record end sequence. XML applications should convert this to a new-line. processing_instruction Receive notification of a processing instruction. Target The processing instruction target in XML.
Data The processing instruction data, if any.
internal_entity_ref Receive notification of a system data (SData) internal entity reference. Name The name of the internal entity reference.
external_entity_ref Receive notification of a external entity reference. Name The name of the external entity reference.
start_subdoc Receive notification of the start of a sub document. Name The name of the external entity reference.
end_subdoc Receive notification of the end of a sub document. Name The name of the external entity reference.
conforming Receive notification that the document just parsed conforms to it's document type declaration (DTD). No properties defined.
DTDHandler methodsexternal_entity_decl Receive notification of an external entity declaration. Name The entity's entity name.
Type The entity's type (CDATA, NDATA, etc.)
SystemId The entity's system identifier.
PublicId The entity's public identifier, if any.
GeneratedId Generated system identifiers, if any.
internal_entity_decl Receive notification of an internal entity declaration. Name The entity's entity name.
Type The entity's type (CDATA, NDATA, etc.)
Value The entity's character value.
notation_decl Receive notification of a notation declaration. Name The notation's name.
SystemId The notation's system identifier.
PublicId The notation's public identifier, if any.
GeneratedId Generated system identifiers, if any.
subdoc_entity_decl Receive notification of a subdocument entity declaration. Name The entity's entity name.
SystemId The entity's system identifier.
PublicId The entity's public identifier, if any.
GeneratedId Generated system identifiers, if any.
external_sgml_entity_decl Receive notification of an external SGML-entity declaration. Name The entity's entity name.
SystemId The entity's system identifier.
PublicId The entity's public identifier, if any.
GeneratedId Generated system identifiers, if any.
AUTHORKen MacLeod, ken@bitsko.slc.ut.us
SEE ALSOperl (1), PerlSAX.pod (3) Extensible Markup Language (XML) <http://www.w3c.org/XML/>
SAX 1.0: The Simple API for XML <http://www.megginson.com/SAX/>
SGML Parser (SP) <http://www.jclark.com/sp/>
0
Johanes Gumabo
Data Size : 22,648 byte
man-XML::ESISParser.3pmBuild : 2024-12-05, 20:55 :
Visitor Screen : x
Visitor Counter ( page / site ) : 3 / 238,044
Visitor ID : :
Visitor IP : 3.15.34.105 :
Visitor Provider : AMAZON-02 :
Provider Position ( lat x lon ) : 39.962500 x -83.006100 : x
Provider Accuracy Radius ( km ) : 1000 :
Provider City : Columbus :
Provider Province : Ohio , : ,
Provider Country : United States :
Provider Continent : North America :
Visitor Recorder : Version :
Visitor Recorder : Library :
Online Linux Manual Page : Version : Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page : Library : lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page : Library : lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base : Version : Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base : Library : lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36
Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.
ERROR : Need New Coding : (parse_manual_page_|249|XML::ESISParser.3pm|36/37|el══─{─══.|.el══─{─══. ds -- \|\(em\|
) (htmlprn|149|XML::ESISParser.3pm|36/37|.el══─{─══. ds -- — |.el══─{─══. ds -- \|\(em\|
) (parse_manual_page_|249|XML::ESISParser.3pm|41|br══─}─══|'br══─}─══
) (htmlprn|149|XML::ESISParser.3pm|41|'br══─}─══ |'br══─}─══
) (rof_nr_x|149|XML::ESISParser.3pm|51/52|\nF|.ie \nF ══─{─══. de IX
) (rof_unit_scale_px|41|XML::ESISParser.3pm|51/52|F|.ie \nF ══─{─══. de IX
) (rof_if|19|XML::ESISParser.3pm|51/52|\nF|.ie \nF ══─{─══. de IX
) (htmlprn|149|XML::ESISParser.3pm|51/52|.ie \nF ══─{─══. de IX|.ie \nF ══─{─══. de IX
) (rof_escape_sequence|91|XML::ESISParser.3pm|53|\$1\t\\n%\t"\\$2" |. tm Index:\\$1\t\\n%\t"\\$2"
) (parse_manual_page_|249|XML::ESISParser.3pm|57|══─}─══|.══─}─══
) (htmlprn|149|XML::ESISParser.3pm|57|.══─}─══ |.══─}─══
) (rof_escape_sequence|91|XML::ESISParser.3pm|146|\*(C`XML::ESISParser\*(C'\fR is a Perl \s-1SAX\s0 parser using the `nsgmls' command of |\&\f(CW\*(C`XML::ESISParser\*(C'\fR is a Perl \s-1SAX\s0 parser using the `nsgmls' command of
) (rof_escape_sequence|91|XML::ESISParser.3pm|149|\*(C`XML::ESISParser\*(C'\fR; please refer to the Perl |properties supported by \f(CW\*(C`XML::ESISParser\*(C'\fR; please refer to the Perl
) (rof_escape_sequence|91|XML::ESISParser.3pm|150|\*(C`SAX.pod\*(C'\fR' for general usage information. |\&\s-1SAX\s0 standard in `\f(CW\*(C`SAX.pod\*(C'\fR' for general usage information.
) (rof_escape_sequence|91|XML::ESISParser.3pm|152|\*(C`XML::ESISParser\*(C'\fR defaults to parsing \s-1XML\s0 and has an option for |\&\f(CW\*(C`XML::ESISParser\*(C'\fR defaults to parsing \s-1XML\s0 and has an option for
) (rof_escape_sequence|91|XML::ESISParser.3pm|155|\*(C`nsgmls\*(C'\fR' source, and binaries for some platforms, is available from |`\f(CW\*(C`nsgmls\*(C'\fR' source, and binaries for some platforms, is available from
) (rof_escape_sequence|91|XML::ESISParser.3pm|156|\*(C`nsgmls\*(C'\fR' is included in both the \s-1SP\s0 and |. `\f(CW\*(C`nsgmls\*(C'\fR' is included in both the \s-1SP\s0 and
) (rof_escape_sequence|91|XML::ESISParser.3pm|165|\*(C`parse()\*(C'\fR' override the default options in the |Options passed to `\f(CW\*(C`parse()\*(C'\fR' override the default options in the
) (rof_escape_sequence|91|XML::ESISParser.3pm|169|\*(C`XML::ESISParser\*(C'\fR: |The following options are supported by \f(CW\*(C`XML::ESISParser\*(C'\fR:
) (rof_escape_sequence|91|XML::ESISParser.3pm|182|\*(C`parse()\*(C'\fR' method, it |If a single string argument is passed to the `\f(CW\*(C`parse()\*(C'\fR' method, it
) (rof_escape_sequence|91|XML::ESISParser.3pm|183|\*(C`Source\*(C'\fR' option was given with a `\f(CW\*(C`String\*(C'\fR' |is treated as if a `\f(CW\*(C`Source\*(C'\fR' option was given with a `\f(CW\*(C`String\*(C'\fR'
) (rof_escape_sequence|91|XML::ESISParser.3pm|186|\*(C`Source\*(C'\fR' hash may contain the following parameters: |The `\f(CW\*(C`Source\*(C'\fR' hash may contain the following parameters:
) (rof_escape_sequence|91|XML::ESISParser.3pm|195|\*(C`ByteStream\*(C'\fR', `\f(CW\*(C`String\*(C'\fR', or `\f(CW\*(C`SystemId\*(C'\fR', |If more than one of `\f(CW\*(C`ByteStream\*(C'\fR', `\f(CW\*(C`String\*(C'\fR', or `\f(CW\*(C`SystemId\*(C'\fR',
) (rof_escape_sequence|91|XML::ESISParser.3pm|196|\*(C`ByteStream\*(C'\fR', then `\f(CW\*(C`String\*(C'\fR', |then preference is given first to `\f(CW\*(C`ByteStream\*(C'\fR', then `\f(CW\*(C`String\*(C'\fR',
) (rof_escape_sequence|91|XML::ESISParser.3pm|197|\*(C`SystemId\*(C'\fR'. |then `\f(CW\*(C`SystemId\*(C'\fR'.
) (rof_escape_sequence|91|XML::ESISParser.3pm|201|\*(C`XML::ESISParser\*(C'\fR: |\&\f(CW\*(C`XML::ESISParser\*(C'\fR:
) (rof_escape_sequence|91|XML::ESISParser.3pm|226|\*(C`Attributes\*(C'\fR' hash contains only string values. The `\f(CW\*(C`Empty\*(C'\fR' |The `\f(CW\*(C`Attributes\*(C'\fR' hash contains only string values. The `\f(CW\*(C`Empty\*(C'\fR'
)