title: writing "<" and ">" to a xml file instead of &lt; and &gt; in java
body: <p>i have to write a few lines to a xml file which should contain &lt; and > symbols as part of value of a tag.
  i am setting them in a string that has some text along with  &lt; and > symbols , and after marshalling through jaxb the xml which gets created has ;lt; and ;gt; instead of the &lt; and > symbols. i tried using escape characters and ascii 60 and 62 values to get them as &lt; and > but didn't work. Can anyone suggest some solution for this.</p>