XML DOM - L' oggetto Commento
Provalo tu stesso - Esempi
Gli esempi seguenti utilizzano il file XML books.xml .
L'oggetto Commento
L'oggetto Comment rappresenta il contenuto dei nodi di commento in un documento.
Commenta le proprietà dell'oggetto
Property | Description |
---|---|
data | Sets or returns the text of this node |
length | Returns the length of the text of this node |
Commenta i metodi degli oggetti
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 |