Thanks a lot i hadn't seen that. I thought location only allowed you to go
down one level in the XML. Now it works perfectly. Another question I have
now is wether i need add any .jar files to my project if i'm working with
Hibernate and Spring. There are a coupple dependencies at the download
section of the Castor website but they don't say much about what they are
used for.



joni.loky wrote:
> 
> OK so i'm trying to form objects out of an XML doc that looks like this:
> <level1>
> <data1></data1>
> <data2></data2>
> <data3></data3>
> <level2><level3><level4><level5>
> <data1_Level5></data1_Level5>
> <data2_Level5></data2_Level5>
> <data3_Level5></data3_Level5>
> </level5></level4></level3></level2>
> ... // Some more data
> </level1>
> 
> I need for the object i'm making in the with the level1 information to
> have a Collection of level5 objects!
> Does anyone know how i can do this?
> 
> 

-- 
View this message in context: 
http://www.nabble.com/CASTOR-%2B-XML-RAW-DATA-MAPPING-%2B-INNER-LEVELS-tp16614442p16627796.html
Sent from the Castor - User mailing list archive at Nabble.com.


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

    http://xircles.codehaus.org/manage_email


Reply via email to