on 02-13-2008 10:14 AM
Hi,
I'm having an value node(VN2) and that is mapped to the another DCs value node(VN1) and from there the value is coming.
when i check the size of the VN2 its displaying as 6. but when i try to display the values in the value attributes of this node its showing as null
help me out
Thanks,
Suresh
Hi,
I think elements are present in the node but the values to the attributes is not set.thats why you are getting null(which is the default value.)
For Example,consider Node names 'Test' which has attribute 'testValue'.
ITestElement ele=wdContext.nodeTest().createNodeTestElement();
wdContext.nodeTest.addElement(ele);
Now if we try to get the size it will show 1.But if we try to get the value of testValue then it will show null;
what we have missed here is
ele.setTestValue("myValue");
Regards,
Sudhir
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.