NAME
XML::DOM2::Parser - Sax based xml parser for XML::DOM2
DESCRIPTION
This parser was constructed using XML::SAX::PurePerl which Was known at the time to lack a number of calls which where important for dealing with things like document type and text formating and xml decls. hopfully in the future this will be fixed and this method will be able to take advantage of those part of an xml page.
$parser->new( %options )
Create a new parser object.
|
$parser->document()
Return the document object
|
$parser->start_document( $document )
Called at the start of a document.
|
$parser->end_document()
Called at the end of a document.
|
$parser->start_element( $node )
$parser->end_element( $element )
$parser->characters()
Handle part of a cdata by concatination
|
$parser->text()
Handle combined text strings as cdata
|
WARNING: Comments are currently removed!
|
$parser->start_cdata()
$parser->end_cdata()
$parser->processing_instruction()
$parser->doctype_decl( $dtd )
We want to store the below details for the document creation
|
$parser->xml_decl( $xml )
Decode the xml decleration information.
|
COPYRIGHT
Martin Owens, doctormo@cpan.org
SEE ALSO
XML::DOM2,XML::SAX