on 10-07-2008 12:34 PM
How to set value for context attribute of a node at perticular index.
Hi ,
try this code
wdContext.node<node>().getElementAt(i).setAttributeValue("attName","attvalue");
Regards,
Sunitha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
try with this
wdContext.node<Value node name>().get<>ElementAt(<index of the element>).set<Attribute name>("");
before using the above statement there should be element exist in that particular index.
example if you dn't have any elements trying to get the zero index element gives nullpointer exception.
hope you got !
Regards,
ramesh
Edited by: Ramesh Babu V on Oct 7, 2008 5:09 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.