目录

XML DOM - 的 注释对象


注释对象

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