LOTUSSCRIPT /COM/OLE のクラス


NotesDOMDocumentNode クラス

XML 文書全体を表します。文書ツリーのルートです。

メモ このクラスは R6 で新しく追加されました。

メモ このクラスは COM ではサポートされていません。

基本クラス
継承元:NotesDOMNode

包含関係
スーパークラス:NotesDOMParser

サブクラス:NotesDOMAttributeNodeNotesDOMCDATASectionNodeNotesDOMCommentNodeNotesDOMDocumentFragmentNodeNotesDOMElementNodeNotesDOMEntityReferenceNodeNotesDOMNodeListNotesDOMProcessingInstructionNodeNotesDOMTextNode

プロパティ
Attributes

DocumentElement

FirstChild

HasChildNodes

IsNull

LastChild

LocalName

NamespaceURI

NextSibling

NodeName

NodeType

NodeValue

NumberOfChildNodes

ParentNode

Prefix

PreviousSibling

メソッド
AppendChild

Clone

CreateAttributeNode

CreateAttributeNodeNS

CreateCDATASectionNode

CreateCommentNode

CreateDocumentFragmentNode

CreateDocumentNode

CreateElementNode

CreateElementNodeNS

CreateEntityReferenceNode

CreateNotationNode

CreateProcessingInstructionNode

CreateTextNode

CreateXMLDeclNode

GetElementsByTagName

GetElementsByTagNameNS

RemoveChild

ReplaceChild

作成方法とアクセス方法
既存の DOM ツリーの文書ノードにアクセスするには、NotesDOMParser オブジェクトを作成し、Process メソッドを使って DOM ツリーを生成します。次いで、NotesDOMParser の Document プロパティを使って文書ノードにアクセスします。例を示します。


新しい DOM ツリーで文書ノードを作成するには、NotesDOMParser オブジェクトを作成し、Document プロパティを取得します。例を示します。
使い方
DOM ツリー内に 1 つの文書ノードしか存在しません。


関連項目