GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  XML::HANDLER::BUILDDOM (3)

.ds Aq ’

NAME

XML::Handler::BuildDOM - PerlSAX handler that creates XML::DOM document structures

CONTENTS

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::Document) 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:
o KeepCDATA => 1

If set to 0 (default), CDATASections will be converted to regular text.

o Document => $doc

If undefined, start_document will extract it from Element or DocType (if set), otherwise it will create a new XML::DOM::Document.

o 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.

o DocType => $doctype

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

Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 XML::HANDLER::BUILDDOM (3) 2000-02-11

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.