XML DOM - The Comment Object

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP




<!--
main_leaderboard, all: [728,90][970,90][320,50][468,60]
-->



XML DOM - The Comment Object



❮ Previous
Next ❯



Try it Yourself - Examples



The examples below use the XML file books.xml.


createComment() - Create a comment node



The Comment object


The Comment object represents the content of comment nodes in a document.



Comment Object Properties








PropertyDescription
data Sets or returns the text of this node
length Returns the length of the text of this node

Comment Object Methods














PropertyDescription
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


❮ Previous
Next ❯

Popular posts from this blog

WWE Night of Champions

Poznań

Kaliningrad