Hi,

in the second CASE (html),where would you want to store the context ?

Werner

Qureshi, Affan wrote:
> Hi,
> 
> I have an XML where one of the element's text node can either be a bunch of 
> text or some HTML. E.g
> 
> <content identity="1025">
>     <IMG src="/images/temp/earn2.jpg" />
>     <IMG src="/images/temp/earn1.jpg" />
> </content>
> 
> <content identity="1025">
>     Some data
> </content>
> 
> The unmarshalling works perfectly fine when it is text or even html inside 
> CDATA. But I want Castor to populate a field of the class Content with 
> whatever is present.
> 
> I understand that this is non-conforming but well-formed XML.
> 
> Any ideas?
> 
> Thanks a lot!
> 
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
> 
>     http://xircles.codehaus.org/manage_email
> 
> 
> 


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

    http://xircles.codehaus.org/manage_email


Reply via email to