Is there any setting I can do so that the < > ' " & characters are not encoded in xstraem?
________________________________ From: Matthew Shea <[email protected]> To: [email protected] Sent: Thursday, May 3, 2012 11:44 PM Subject: Re: [xstream-user] How do I get the coorect value for XML special characters 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 > b</condition>. How to get back the exact string with > >character? > >Thanks, >ajaya
