This might help u
http://www-106.ibm.com/developerworks/library/j-dynxml.html?n-j-141
MJ
----- Original Message -----
From: Deepak Kumar <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, January 04, 2001 3:58 PM
Subject: Using XML Data in JSP File
> Hi,
>
> Suppose the follwing XML Document.
>
> <?xml version="1.0" encoding="ISO-8859-1"?>
> <books>
> <book isbn="123">
> <title>Web Servers for Fun and Profit</title>
> <quantity>10</quantity>
> <price>$17.95</price>
> </book>
> <book isbn="456">
> <title>Web Programming for Mobile
> Devices</title>
> <quantity>2</quantity>
> <price>$38.95</price>
> </book>
> <book isbn="789">
> <title>Duke: A Biography of the Java
> Evangelist</title>
> <quantity>25</quantity>
> <price>$15.00</price>
> </book>
> </books>
>
> Now if want to user this data in JSP file to generate
> the HTML page. If anybody knows how to use it in JSP
> file please tell me. My idea is generate the XML
> document using servlet and then user this data in JSP
> file to generate the HTML page.
>
> Thanks in advance
> Deepak Kumar
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Photos - Share your holiday photos online!
> http://photos.yahoo.com/
>
>
===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
> 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".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
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