multiple attributes 2003-01-28 - By Peter Vanopulos
Hi Elena,
I fail to see what is "this problem" you are referring to.. While this is true that W3C DOM does not provide setAttributes() method on Element/Node interfaces, there are several ways how you can add attributes to an element using the DOM.
===> I can not see a setAttribute() method that accepts a NamedNodeMap as a parameter. Can you please post by example code.
You can add attributes directly to the org.w3c.dom.NamedNodeMap (which is retrieved via getAttributes()) since this object is _live_ or you can use setAttribute* methods on Element interface to add new attributes to the DOM. ^^^ can you? Please post by example.
Thanks and kind regards,
Pete
--------------------------------------------------------------------- To unsubscribe, e-mail: xerces-j-user-unsubscribe@(protected) For additional commands, e-mail: xerces-j-user-help@(protected)
|
|