how do i show XML in the browser ?

<%@ page contentType="text/html; charset=iso-8859-1

..................

.....................

<table>

HTML TAGS ARE HERE

</table>

...........

out.println("Content-type: text/xml");

string xml=bean.getXMLdata();

out.println(xml); // but this is not coming to the browser !!

how do i show XML then ?

[378 byte] By [navigatora] at [2007-10-2 3:54:06]
# 1

i want to show XML in the browser .

i started with

<%@ page contentType="text/xml;.....but this is not identifying html tags ?

my question is : i want to show XML output in my JSP . my JSP also conatains some HTML tags(like <table>,<br>,

) . what i should do ?

navigatora at 2007-7-15 23:14:57 > top of Java-index,Java Essentials,Java Programming...