You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "Christopher W. Farnham" <ch...@wrycan.com> on 2004/01/27 21:00:36 UTC
Retrieving inner elements as text
Is there some way that I can populate an object field with a String that
looks like this: 'some text <b>bold text<i>italic text</i></b> more text'.
Put another way, I'd like to grab the text inside the title elements
with its markup and populate
a String property on my Java object.
<title>some text <b>bold text<i>italic text</i></b> more text</title>
I've looked through the documentation and played around with the
UnmarshallListener but no
obvious solution came to me.
Thank you,
Chris
Christopher Farnham
Senior Consultant at Wrycan, Inc.
chris.farnham@wrycan.com
http://www.wrycan.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Sorry: Re: Retrieving inner elements as text
Posted by "Christopher W. Farnham" <ch...@wrycan.com>.
I got my Castor dev list and Maven lists mixed up.
Christopher Farnham
Senior Consultant at Wrycan, Inc.
chris.farnham@wrycan.com
http://www.wrycan.com
Christopher W. Farnham wrote:
> Is there some way that I can populate an object field with a String
> that looks like this: 'some text <b>bold text<i>italic text</i></b>
> more text'.
>
> Put another way, I'd like to grab the text inside the title elements
> with its markup and populate
> a String property on my Java object.
> <title>some text <b>bold text<i>italic text</i></b> more text</title>
>
> I've looked through the documentation and played around with the
> UnmarshallListener but no
> obvious solution came to me.
>
> Thank you,
> Chris
>
>
> Christopher Farnham
> Senior Consultant at Wrycan, Inc.
>
> chris.farnham@wrycan.com
> http://www.wrycan.com
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org