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.
Inherits from: NotesDOMNode
Contained by: NotesDOMParser
Contains: NotesDOMAttributeNode, NotesDOMCDATASectionNode, NotesDOMCommentNode, NotesDOMDocumentFragmentNode, NotesDOMElementNode, NotesDOMEntityReferenceNode, NotesDOMNodeList, NotesDOMProcessingInstructionNode, NotesDOMTextNode
CreateProcessingInstructionNode
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
There is only one document node in a DOM tree.
See examples