> Using xerces-j I can read in multiple attributes from an element by
It's not Xerces, but rather DOM specification

making use of the getAttributes() method that returns into a NodeList.
This should be org.w3c.dom.NamedNodeMap, isn't it?
==> Sorry, NamedNodeMap is what it should read.


> However I can not write multiple attributes to an element... Can
someone
W3C DOM specification doesn't provide such method for Node interface.
But
you are always free to write method that will take Node, clear all
existing
attributes and set all attributes you want after that. I'm afraid that's
the
only way to do it.
===> JDom impl has something similar to what you are describing. I would
of thought that this problem had been encountered before and work around
existed...




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

Reply via email to