on 01-09-2007 9:15 PM
Can attributes of a context element be accessed by index.
I want to do something like:
for(int i = 0; i < <element>.size;i++){
//Assign values to each attribute
}
IWDNodeElement element = ...;
for (Iterator attributes = element.node().getNodeInfo().iterateAttributes(); it.hasNext(); )
{
IWDAttributeInfo attribute = (IWDAttributeInfo) attributes.next();
element.setAttributeValue(attribute.getName(), value);
}
Armin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Gregory,
You can do something like that:
for(int i = 0; i < wdContext.nodeCustomer().size() ;i++){
IPrivateIviewCustomer.ICustomerElement element = wdContext.nodeCustomer().getElementAt(i);
String name = element.getName();
.
.
.
}
Kind Regards,
Luciano
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 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
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.