multiple attributes 2003-01-29 - By Joseph Kesselman
>===> I can not see a setAttribute() method that accepts a NamedNodeMap > as a parameter. Can you please post by example code.
That isn't a standard DOM operation. You're asking for a nonportable custom enhancement, and one that isn't really needed since it's extremely easy to write your own routine to do this. Just iterate through the source NamedNodeMap, read each attribute's names/namespaces/values, and add the corresponding attributes to the target element using its setAttributeNS() method.
______________________________________ Joe Kesselman / IBM Research
--------------------------------------------------------------------- To unsubscribe, e-mail: xerces-j-user-unsubscribe@(protected) For additional commands, e-mail: xerces-j-user-help@(protected)
|
|