From http://www.w3schools.com (Copyright Refsnes Data)
Complete Attr Object Reference
The prefix property sets or returns the namespace prefix of an attribute.
| attrObject.prefix |
The following code fragment loads "books.xml" into xmlDoc using loadXMLDoc() and returns the namespace prefix of the "lang" attributes:
Example
The output of the code above will be:
Try it yourself » |
Complete Attr Object Reference
From http://www.w3schools.com (Copyright Refsnes Data)