Creating a string of xml elements in jsp

admin

Administrator
Staff member
I have a xml doc like:
<art>
<ele1/>
<ele2/>
<ele3/>
<ele4/>
<english>
<body><b color="red">This is a test</b></body>
</english>
</art>

I would like to read in the english tag into a string and keep all of the tags, elements and text. I am having problems. I can read in the <b> tag and all i get is the text. I would like to keep everything. Any help would be great.

I am using JSP.

Adam
 
Back
Top