printing xml file in jsp

Hi,

I have a xml document stored as string. I want to print the entire document in my jsp file.But when i print the string , only the data in my xml document gets printed and not the tags.But when i do a view source i can see the entire xml file.How can print the tags as well?

Regards

Vivek

Message was edited by:

vivek.shankar

[366 byte] By [vivek.shankara] at [2007-11-26 18:54:57]
# 1
How and where are u holding the data ? Is it a Dom Tree or String ?
Vishwas_Prasannaa at 2007-7-9 20:32:33 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2
It is actually a clob value which i parse and convert to a string. So the answer is that it is a string. Thanks for the response.RegardsVivek
vivek.shankara at 2007-7-9 20:32:33 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 3

Hi,

Got the solution .Changed "<" to "<" and ">" to ">" .....dumb me :)

xslt = xslt.replaceAll("<","<");

xslt = xslt.replaceAll(">",">");

Regards

Vivek

null

vivek.shankara at 2007-7-9 20:32:33 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...