Yes you can. The main requirement is to include something like the following

<?xml version="1.0" encoding="UTF-8"?>
<?xml:stylesheet type="text/xsl" href="mvppdsal.xsl" ?>  <<< where the href
points to your XML style sheet


The style sheet contains all the HTML instead.



-----Original Message-----
From: Nishi [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 12, 2000 11:54 PM
To: [EMAIL PROTECTED]
Subject: Writing XML in JSP file


Hi all,
   I am wondering if we can write XML in a jsp file in place of HTML. if
yes then how to display it in browser.

Thanks,
Nishi

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to