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.