Re: Adding attribute to Node

Subject: Re: Adding attribute to Node
From: Gary L Peskin <garyp@xxxxxxxxxxxx>
Date: Wed, 27 Sep 2000 16:09:57 -0700
Martin Kupisch wrote:
> before processing some xml document I have to add an attribute to a
> node. I have played around with Xerces but did not figure out how to do
> this. Getting the node is obviously no problem. But how do I add the
> attribute? Thanks in advance. Martin

Martin --

Have a look at Element.setAttribute() or Element.setAttributeNode().

Gary


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread