Adding and Updating Many Attributes.

Hi folks,

Does anybody know how can I add and update attributes with TaminoClient JScript API? The documentation just shows examples using elements.

Regards, Ito

The JScript API handles XML Documents as DOM objects, and in general if you want to process DOM Attributes, you need to look at how your chosen DOM implementation supports Attributes.

For example, if you are rendering your JScript Client-side using Internet Explorer, you will be using Microsoft’s MSXML DOM implementation and you need to refer to the Microsoft MSXML Documentation.

I have attached a small example of a JScript/HTML page that uses the MSXML DOM when rendered with IE. It processes attributes, using the NODE.attributes property to return a NamedNodeMap of attributes, and then using getNamedItem(“attrName”) to return a specific Attribute.


[This message was edited by Bill Leeney on 04 Sep 2002 at 17:02.]
SampleCategory.htm (2.54 KB)