This isn't an xstream-based solution, but you could run a string replace on
">" and put the > character in.

--
Matthew Shea
Sent from my HTC Inspire
On May 3, 2012 10:34 PM, "Ajaya Sahoo" <[email protected]> wrote:

> Hi,
>
> I have an element with the following value ( <condition> a > b
> </condition> ). When I put the value in the object and use Xstream.toXML
> the value comes <condition> a &gt; b</condition>. How to get back the exact
> string with > character?
>
> Thanks,
> ajaya
>

Reply via email to