View on
MetaCPAN
Richard Hundt > XML-DOM-Lite-0.15 > XML::DOM::Lite::Document

Download:
XML-DOM-Lite-0.15.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  11
Open  2
View/Report Bugs
Source   Latest Release: XML-DOM-Lite-0.16

NAME ^

Document - XML DOM Lite Document

SYNOPSIS ^

 $root = $doc->documentElement;
 $node = $doc->getElementById("myid");
 
 # Node creation
 $element = $doc->createElement("tagname");
 $textnode = $doc->createTextNode("some text");
 
 # XPath
 $nlist = $doc->selectNodes("/xpath/expression");
 $node = $doc->selectSingleNode("/xpath/expression");

DESCRIPTION ^

XML::DOM::Lite::Document objects are returned by the Parser and shouldn't generally be instantiated explicitly.

syntax highlighting: