Mozilla::DOM::Document
Mozilla::DOM::Document is a wrapper around an instance of Mozilla's nsIDOMDocument interface. This inherits from Mozilla::DOM::Node.
* The nsIDOMDocument interface represents the entire HTML or XML document. * Conceptually, it is the root of the document tree, and provides the * primary access to the document's data. * Since elements, text nodes, comments, processing instructions, etc. * cannot exist outside the context of a Document, the nsIDOMDocument * interface also contains the factory methods needed to create these * objects. * * For more information on this interface please see * L<http:E<sol>E<sol>www.w3.orgE<sol>TRE<sol>DOM-Level-2-CoreE<sol>>
Pass this to QueryInterface.
$name (string)
$namespaceURI (string)
$qualifiedName (string)
$data (string)
$tagname (string)
$target (string)
$elementId (string)
Gah, this returns a NodeList, not a list of Elements. Which is lame because you can't call Element methods on Nodes... (Maybe in list context, a list of elements could be returned instead?)
$localName (string)
$importedNode (Mozilla::DOM::Node)
$deep (boolean)
$deep = boolean
Mozilla::DOM
Copyright (C) 2005, Scott Lanning
This software is licensed under the LGPL. See Mozilla::DOM for a full notice.
To install Mozilla::DOM, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Mozilla::DOM
CPAN shell
perl -MCPAN -e shell install Mozilla::DOM
For more information on module installation, please visit the detailed CPAN module installation guide.