Home   |   Contact Us   |   Site Map

 

 

 

  BuildDOM.pm Perldoc

 


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 the XML::DOM manpage document structures (i.e. the XML::DOM::Document manpage) from PerlSAX events.

This class used to be called the XML::PerlSAX::DOM manpage 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 parent) for the nodes defined by the following callbacks.

  • DocType => $doctype
    If undefined, start_document will extract it from Document (if possible). Otherwise it adds a new XML::DOM::DocumentType to the Document.



 

Browse our Perldoc FAQs:

Perldoc Home

Perldoc Site Map


Previous Topics

Base.pm Perldoc

Basic.pm Perldoc

Bblock.pm Perldoc

Benchmark.pm Perldoc

BigFloat.pm Perldoc

BigInt.pm Perldoc

blib.pm Perldoc

B.pm Perldoc


Next Topics

Builder.pm Perldoc

Bytecode.pm Perldoc

ByteLoader.pm Perldoc

bytes.pm Perldoc

Calc.pm Perldoc

Calendar.pm Perldoc

CanonXMLWriter.pm Perldoc

Cap.pm Perldoc


Website Spotlight

Domain Hosting with the Leader in Innovative and Comprehensive Web Hosting Solutions, Globalnet GNP.

Reliable Domain Hosting

 

Click here to increase your web traffic insantly!


 Copyright © 1999-2005 Globalnet Promotions, LLC.   |   TheServerRoom.org Home    |   Sitemap    |   RSS News Feeds