Is there a better way to add an extension attribute?

XMLAttr barAttr = new StringAttrImpl();
barAttr .init(null, null, "baz");
inputElement.setExtensionAttribute(new QName("foo","bar"), barAttr);

_________________________________________________________________
Share your latest news with your friends with the Windows Live Spaces friends module. http://clk.atdmt.com/MSN/go/msnnkwsp0070000001msn/direct/01/?href=http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mk


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to