LOTUSSCRIPT/COM/OLE CLASSES


NotesDOMDocumentNode class
Example

Represents the entire XML document. The root of the document tree.

Note This class is new with Release 6.

Note This class is not supported in COM.

Base class

Inherits from: NotesDOMNode

Containment

Contained by: NotesDOMParser

Contains: NotesDOMAttributeNode, NotesDOMCDATASectionNode, NotesDOMCommentNode, NotesDOMDocumentFragmentNode, NotesDOMElementNode, NotesDOMEntityReferenceNode, NotesDOMNodeList, NotesDOMProcessingInstructionNode, NotesDOMTextNode

Properties

Attributes

DocumentElement

FirstChild

HasChildNodes

IsNull

LastChild

LocalName

NamespaceURI

NextSibling

NodeName

NodeType

NodeValue

NumberOfChildNodes

ParentNode

Prefix

PreviousSibling

Methods

AppendChild

Clone

CreateAttributeNode

CreateAttributeNodeNS

CreateCDATASectionNode

CreateCommentNode

CreateDocumentFragmentNode

CreateDocumentNode

CreateElementNode

CreateElementNodeNS

CreateEntityReferenceNode

CreateNotationNode

CreateProcessingInstructionNode

CreateTextNode

CreateXMLDeclNode

GetElementsByTagName

GetElementsByTagNameNS

RemoveChild

ReplaceChild

Creation and access

To access the document node for an existing DOM tree, create a NotesDOMParser object and use its Process method to generate the DOM tree. Then use the Document property of NotesDOMParser to access the document node. For example:


To create the document node for a new DOM tree, create a NotesDOMParser object and get its Document property. For example:
Usage

There is only one document node in a DOM tree.

Example
See Also