XML::Handler::BuildDOMUser Contributed Perl DocumentaXML::Handler::BuildDOM(3)
NAME
XML::Handler::BuildDOM - PerlSAX handler that creates XML::DOM document structures
SYNOPSIS
use XML::Handler::BuildDOM;
use XML::Parser::PerlSAX;
my $handler = new XML::Handler::BuildDOM (KeepCDATA => 1);
my $parser = new XML::Parser::PerlSAX (Handler => $handler);
my $doc = $parser->parsefile ("file.xml");
DESCRIPTION
XML::Handler::BuildDOM creates XML::DOM document structures (i.e. XML::DOM::Docu-
ment) from PerlSAX events.
This class used to be called XML::PerlSAX::DOM prior to libxml-enno 1.0.1.
CONSTRUCTOR OPTIONS
The XML::Handler::BuildDOM constructor supports the following options:
* KeepCDATA => 1
If set to 0 (default), CDATASections will be converted to regular text.
* Document => $doc
If undefined, start_document will extract it from Element or DocType (if set),
otherwise it will create a new XML::DOM::Document.
* Element => $elem
If undefined, it is set to Document. This will be the insertion point (or par-
ent) for the nodes defined by the following callbacks.
* DocType => $doctype
If undefined, start_document will extract it from Document (if possible). Oth-
erwise it adds a new XML::DOM::DocumentType to the Document.
perl v5.8.5 2000-01-31 XML::Handler::BuildDOM(3)
Generated by $Id: phpMan.php,v 4.55 2007/09/05 04:42:51 chedong Exp $ Author: Che Dong
On Apache/1.3.41 (Unix) PHP/5.2.5 mod_perl/1.30 mod_gzip/1.3.26.1a
Under GNU General Public License
2009-01-09 02:35 @38.103.63.58 CrawledBy CCBot/1.0 (+http://www.commoncrawl.org/bot.html)