XMLDOM-コメントオブジェクト
自分で試してみてください-例
以下の例では、XMLファイルbooks.xmlを使用しています。
コメントオブジェクト
Commentオブジェクトは、ドキュメント内のコメントノードのコンテンツを表します。
コメントオブジェクトのプロパティ
Property | Description |
---|---|
data | Sets or returns the text of this node |
length | Returns the length of the text of this node |
コメントオブジェクトメソッド
Property | Description |
---|---|
appendData() | Appends data to the node |
deleteData() | Deletes data from the node |
insertData() | Inserts data into the node |
replaceData() | Replaces data in the node |
substringData() | Extracts data from the node |