XML DOM - Objekt komentáře
Zkuste si to sami - příklady
Níže uvedené příklady používají soubor XML books.xml .
Objekt Komentář
Objekt Comment představuje obsah uzlů komentářů v dokumentu.
Vlastnosti objektu komentáře
Property | Description |
---|---|
data | Sets or returns the text of this node |
length | Returns the length of the text of this node |
Metody objektů komentářů
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 |