Hi Kiran,

are you suing a mapping file or did you start with an XML schema and used that to generate Java classes to be used during unmarshalling ?

If you are using a mapping file, I'd like to see the mapping for the <EventProperty> elements (or rather the corresponding Java class/member within this class that holds the EventProperty instances).

Regards
Werner

castor-dev wrote:
Hi,

I am struggling to read repeated nodes after unmarshalling an xml file. The
node I need to read as follows.

            <EventProperties>
                <EventProperty>
                      <Field>a</Field>
                      <Value>1111</Value>
                </EventProperty>
            </EventProperties>

There may be more EventProperty nodes under EventProperties. Please help me
how to get those Field and Value after unmarshalling. I have appropriate
getter methods available. Is there any looping to be placed?

Thanks Kiran


---------------------------------------------------------------------
To unsubscribe from this list please visit:

   http://xircles.codehaus.org/manage_email

Reply via email to