From http://www.w3schools.com (Copyright Refsnes Data)
Complete Attr Object Reference
The textContent property sets or returns the textual content of an attribute.
| attrObject.textContent |
The following code fragment loads "books.xml" into xmlDoc using loadXMLDoc() and returns the textual content of the category attributes:
Example
Output:
Try it yourself » |
textContent - Set the textual content of an attribute
Complete Attr Object Reference
From http://www.w3schools.com (Copyright Refsnes Data)