Hi Peter, > 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? > 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. Thanks, Dimitry -----Original Message----- From: Peter Vanopulos [mailto:[EMAIL PROTECTED] Sent: Monday, January 27, 2003 16:25 To: [EMAIL PROTECTED] Subject: multiple attributes Hi All, Using xerces-j I can read in multiple attributes from an element by making use of the getAttributes() method that returns into a NodeList. However I can not write multiple attributes to an element... Can someone please explain how to do this or provide a small code example. Thanks and kind regards, Pete --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] _____________________________________________________ Sector Data, LLC, is not affiliated with Sector, Inc., or SIAC --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
