title: XML element containing other xml characters replaced using xstream
body: <p>I'm using xstream in java 1.4 and I'm having an issue with some embedded xml in the elements.</p>
  
  <p>I have the following message:</p>
  
  <pre><code>&lt;detail&gt;
  &lt;SwiftMessage&gt;&lt;SWIFT&gt;hi&lt;SWIFT/&gt;&lt;SwiftMessage/&gt;
  &lt;detail/&gt;
  </code></pre>
  
  <p>The element data hi is a string held in the SwiftMessage tags. I can see that Xstream is seeing these and replacing them with</p>
  
  <pre><code>&amp;lt;SWIFT&amp;gt;hi&amp;lt;SWIFT/&amp;gt;
  </code></pre>
  
  <p>otherwise it creates invalid xml. What I want to know is there any way to quote this string to prevent xstream from doing this. Its part of a JMS message that is being sent to another system and they won't like the replacements.</p>
  
  <p>Much appreciate any thoughts on this.</p>