Text Object
The length property returns the length of the text of a node (in characters).
The following code fragment loads "books.xml" into xmlDoc using loadXMLDoc() and prints the text node data and length from the first <title> element:
The output of the code above will be:
Text Object
Your message has been sent to W3Schools.