XML DOM - كائن التعليق
جربها بنفسك - أمثلة
تستخدم الأمثلة أدناه ملف 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 |