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::GDOME (3)

.ds Aq ’

NAME



  XML::GDOME - Interface to Level 2 DOM gdome2 library



CONTENTS

SYNOPSIS



  use XML::GDOME;

  my $doc = XML::GDOME->createDocFromURI("foo.xml", GDOME_LOAD_VALIDATING | GDOME_LOAD_SUBSTITUTE_ENTITIES);
  my $root = $doc->documentElement;
  my $el = $doc->createElement("RELEASE");
  my $txtnode = $doc->createTextNode("0.6.x");
  my @nodes = $doc->findnodes("//*");
  $el->appendChild($txtnode);
  $root->appendChild($el);
  my $str = $doc->toString;



DESCRIPTION

XML::GDOME is a perl module that provides the DOM Level 2 Core API for accessing XML documents.

It uses a XS wrapper around the gdome2 library, located at http://phd.cs.unibo.it/gdome2/

CLASS METHODS

$doc = XML::GDOME->createDocFromString( $str, $mode ); Loads document from a string.

$mode is the bitwise or of GDOME_LOAD_PARSING, GDOME_LOAD_VALIDATING, GDOME_LOAD_RECOVERING, and GDOME_LOAD_SUBSTITUTE_ENTITIES.

$doc = XML::GDOME->createDocFromURI( $uri, $mode ); Loads document from an xml file on the local filename or from a remote URL.
$doc = XML::GDOME->createDocument( $nsURI, $name, $dtd ); Creates a new xml document. It will be in the $nsURI namespace, if $nsURI is defined, and its document element will have the name $name.

$dtd is optional, and should be a XML::GDOME::DocumentType object, or undef.

$dtd = XML::GDOME->createDocumentType( $name, $publicId, $systemId ); Creates a XML::GDOME::DocumentType object.
$bool = XML::GDOME->hasFeature($feature, $version); Tests whether the DOM implementation implements a specific feature.

AUTHOR

T.J. Mather, <tjmather@tjmather.com>

XML::GDOME is based on XML::LibXML. Matt Sergeant and Christian Glahn were the authors of XML::LibXML.

CREDITS

Bug fixes and feature enhancements generously provided by:



  Richard Titmuss
  Martin Oldfield



Thanks!

COPYRIGHT

Copyright (c) 2001, 2002 T.J. Mather. Copyright 2001, AxKit.com Ltd. All rights reserved. XML::GDOME is free software; you may redistribute it and/or modify it under the same terms as Perl itself.

SEE ALSO

XML::GDOME::Attr, XML::GDOME::CDATASection, XML::GDOME::CharacterData, XML::GDOME::Comment, XML::GDOME::DocumentFragment, XML::GDOME::Document, XML::GDOME::DocumentType, XML::GDOME::Element, XML::GDOME::Entity, XML::GDOME::EntityReference, XML::GDOME::NamedNodeMap, XML::GDOME::NodeList, XML::GDOME::Node, XML::GDOME::Notation, XML::GDOME::ProcessingInstruction, XML::GDOME::Text

XML::GDOME::XPath::Evaluator, XML::GDOME::XPath::Namespace, XML::GDOME::XPath::NSResolver, XML::GDOME::XPath::Result, XML::GDOME::XPath::SetIterator

XML::GDOME::SAX::Builder, XML::GDOME::SAX::Generator, XML::GDOME::SAX::Parser

XML::GDOME::XSLT

XML::DOM, XML::LibXML

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


perl v5.20.3 XML::GDOME (3) 2002-09-01

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