Hello,

Is it possible to unmarshall the following xml

<shop>
        <category id="food"/>
        <category id="vegetarian"/>
        <category id="pizza"/>

        <article categories="food vegetarian pizza">Pizza
Funghi</article>
        ...
</shop>

To an object-tree like that:

Class Shop {
        Category[] categories;
        Article[] articles;
        ...
}

Class Category {
        String id;
        ...
}

Class Article {
        Category[] categories;
        String desc;
        ...
}

I hope you can imagine what I mean. I didn't get castor to create the
Article.categories array on unmarshalling. How must the mapping-file
look like?

Thanks,
Thomas

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to