Attr Object
The prefix property sets or returns the namespace prefix of an attribute.
The following code fragment loads "books.xml" into xmlDoc using loadXMLDoc() and returns the namespace prefix of the "lang" attributes:
The output of the code above will be:
Attr Object
Your message has been sent to W3Schools.