This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Adding attribute to Node


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]