Obtain the NamedNodeMap which lists all the attributes for this node,
obtain attribute names/namespaces from that, call removeAttribute for each
one. Note that the NamedNodeMap is a live view, and unordered, which
complicates this loop slightly; you will probably want to repeatedly remove
the 0th entry rather then trying to iterate through. (See discussion of
NodeList in the DOM FAQ; similar issues apply.)


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to