Skip to Content
0
Former Member
Mar 02, 2009 at 04:00 PM

Get and Set values in nested context nodes and attributes

526 Views

Hi all,

I just began working with nested nodes and attributes in my application context. I have no problems when dealing with attributes just set under the root context. My problem comes when I want to work with nested nodes and attributes.

For example, with the following context structure:

-Context

-


Node1

-


Attribute1

-


Attribute2

-


Node2

-


Attribute3

-


Attribute4

My problem is that I haven't been able to find the exact java instructions for getting and setting values from and to the attributes inside a nested node.

1- Can anyone help me, with maybe an example on how you would set and get values to and from "Attribute1" in the example I posted, please?

2- Also, I think I also need to get the IWDAttributeInfo from Attribute1 for further processing. Does anyone know how that is done?

Any help will be greatly appreciated.

Thanks!

Edited by: Alain More on Mar 2, 2009 5:02 PM

Edited by: Alain More on Mar 2, 2009 5:40 PM