cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robby Pelssers" <robby.pelss...@ciber.nl>
Subject mapping xml 2 java using cocoon (block)
Date Thu, 29 Jan 2009 18:19:57 GMT
Hi all,

 

I have a project where I want to read xml from the filesystem and
unmarshall to Java.

 

Suppose I have a request 

http://localhost:8888/myproject/product/xyz-123    

where xyz-123 is the product-id.  

 

Based on this information cocoon I know where to read the product-xml
from the filesystem.  I would like to map the xml now to my Product
Object.  However, the product-xml contains a reference to for instance a
file containing company information.

 

So I would like this information to be loaded as well.  Anyone done
something similar already?  Is using Castor an easy option to accomplish
this or are there easier ways.

 

Thx in advance.

Robby Pelssers

 

 

 

 

 

 

 


Mime
View raw message