Document

extends Parent

A Document object represents an XML Document node.

Constructors

Document other, Node deep if(other.doctype != null) doctype = (DocumentTypeNode)other.doctype.copy(deep); DocumentType doctype this.doctype = doctype;

Type Functions

doctype()

Get the DocumentType of this document.

document()

Get the owning document node.

Returns: This Document.

parent(Parent parent)

parent()

string()

Get the String value of this Document.

See also: XPath v1.0 4.2 String Functions

The string-value of the root node is the concatenation of the string-values of all text node descendants of the root node in document order.

Functions inherited from Parent