NotesDOMDocumentNode (LotusScript®)
Represents the entire XML document. The root of the document tree.
Base class
Inherits from: NotesDOMNode
Containment
Contained by: NotesDOMParser
Contains: NotesDOMAttributeNode, NotesDOMCDATASectionNode, NotesDOMCommentNode, NotesDOMDocumentFragmentNode, NotesDOMElementNode, NotesDOMEntityReferenceNode, NotesDOMNodeList, NotesDOMProcessingInstructionNode, NotesDOMTextNode
Properties
Methods
CreateProcessingInstructionNode
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:
Dim domparser As NotesDOMParser
Dim domdoc As NotesDOMDocumentNode
Set domParser = session.CreateDOMParser(inputStream, outputStream)
Call domParser.Process
Set domdoc = domparser.Document
To create the document node for a new DOM tree, create a NotesDOMParser object and get its Document property. For example:
Dim domparser As NotesDOMParser
Dim domdoc As NotesDOMDocumentNode
Set domparser = session.CreateDOMParser
Set domdoc = domparser.Document
Usage
There is only one document node in a DOM tree.