nodesetprefix01
IBM
The method setPrefix sets the namespace prefix of this node. Note that setting this attribute,
when permitted, changes the nodeName attribute, which holds the qualified name, as well as the
tagName and name attributes of the Element and Attr interfaces, when applicable.
Create a new element node with a namespace prefix. Add it to a new DocumentFragment Node without
a prefix. Call setPrefix on the elemen node. Check if the prefix was set correctly on the element.
Neil Delima
2002-04-28