This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Adding attribute to Node
- To: xsl-list at mulberrytech dot com
- Subject: Re: Adding attribute to Node
- From: Gary L Peskin <garyp at firstech dot com>
- Date: Wed, 27 Sep 2000 16:09:57 -0700
- Organization: The Firstech Corporation
- References: <39D26182.40E8223A@knuut.de>
- Reply-To: xsl-list at mulberrytech dot com
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