I am using xstream to marshal/unmarshal xml. I have following xml fragment
for which I would like to store the node 'rawText' contents as a string on
Form.java bean.

<FormData>

<form id="1">

<rawText>

<h1>All form submitted data goes here</h1>.
<clob> This can contain more 'xml' like data with more nodes </clob>

</rawText>

</form>

</FormData>
Form.java

class Form{
 private int id;
 private String rawText;

 //getters + setters

}

So in above example, I would like to get all rawText node content be
populated into rawText field on Form bean. can this be possible with
xstream?

<h1>All form submitted data goes here</h1>.
<clob> This can contain more 'xml' like data with more nodes </clob>

Reply via email to