Hi Mike,
Can you give an example of what you expect Castor to produce?
Castor only marshals into a single document, or single
ContentHandler/DocumentHandler. If you want Castor to marshal to two
separate files in a single marshalling step, then you'll need to create
your own ContentHandler which can do that for you.
Castor can certainly create:
<product>
<price>
</price>
<details href="http://me.you.com/xmlfiles/details.xml" />
</price>
</product>
As long as your object model contains a Details object with an href
String field.
--Keith
Mike Wannamaker wrote:
>
> I was just wondering if castor's marshalling would support linking in
> another document via an href type tag?
>
> <product>
> <price>
> </price>
> <details href="http://me.you.com/xmlfiles/details.xml" />
> </price>
> </product>
>
> Details.xml would contain something like this?
>
> <details>
> <name></name>
> <description></description>
> <category></category>
> <amount></amount>
> </details>
>
> Is this concept even possible with castor?
>
> --ekiM
>
> -----------------------------------------------------------
> If you wish to unsubscribe from this mailing, send mail to
> [EMAIL PROTECTED] with a subject of:
> unsubscribe castor-user
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-user