From http://www.w3schools.com (Copyright Refsnes Data)
Complete Element Object Reference
The text property returns the value of all text nodes from the selected element.
| elementNode.text |
Tip: For setting and returning the text value from a node you should use the text node nodeValue property.
The following code fragment loads "books.xml" into xmlDoc using loadXMLDoc() and gets text nodes from the first <title> element:
Example
The output of the code above will be:
Try it yourself » |
Complete Element Object Reference
From http://www.w3schools.com (Copyright Refsnes Data)