From http://www.w3schools.com (Copyright Refsnes Data)
Complete Element Object Reference
The xml property returns the XML of a node and its descendants.
| elementNode.xml |
Note: This property is Internet Explorer-only!
The following code fragment loads "books.xml" into xmlDoc using loadXMLDoc() and shows the XML of the first <book> element:
Example
Output:
Try it yourself » |
Complete Element Object Reference
From http://www.w3schools.com (Copyright Refsnes Data)