Node Object
The prefix property sets or returns the namespace prefix of a node.
The following code fragment loads "books_ns.xml" into xmlDoc using loadXMLDoc() and returns the namespace prefix of the <title> elements:
The output of the code above will be:
Node Object
Your message has been sent to W3Schools.