on 10-03-2010 10:43 AM
Hello All,
I want to access the a node's attribute's information. I am passing the node as a parameter to a method which is an aanother DC. How do I get this inf ?
Regards
Mrinalini
Hello Mrinalini,
It is simple, use the following code to do so
Iterator iter = wdContext.node<NODE NAME>().getNodeInfo().iterateAttributes();
IWDAttributeInfo attrInfo = null;
while(iter.hasNext()) {
attrInfo = (IWDAttributeInfo)iter.next();
attrInfo.getName(); // To check with attribute name
attrInfo.getDataType().getName(); // To check with attribute type
}
Regards
Mohammad Bohra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.