Try this link...
http://www.developer.ibm.com/tech/integration/xml.html
-----Original Message-----
From: A mailing list about Java Server Pages specification and
reference [mailto:[EMAIL PROTECTED]] On Behalf Of Danilo Luiz
Rheinheimer
Sent: Thursday, 4 November 1999 10:10 AM
To: [EMAIL PROTECTED]
Subject: How do this in JSP
Hi,
I want to apply a xsl file to a xml file and return the result for the
client browser.
Using ASP and JScript I made so :
<% @ LANGUAGE="JSCRIPT" %>
<%
var docxml = Server.MapPath("file.xml");
var docxsl = Server.MapPath("file.xsl");
var xmlDoc = Server.CreateObject("Microsoft.FreeThreadedXMLDOM");
xmlDoc.load(docxml);
if (xmlDoc.parseError != 0)
Response.Write (xmlDoc.parseError.reason);
var xmlXSL = Server.CreateObject("Microsoft.FreeThreadedXMLDOM");
xmlXSL.load(docxsl);
if (xmlXSL.parseError != 0)
{
var err = xmlXSL.parseError.reason;
Response.Write(err);
}
out = xmlDoc.transformNode(xmlXSL);
Response.Write(out);
%>
What is the equivalent using JSP ? I want a solution witch can be used in
any plataform with jsp support.
Thanks.
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
FAQs on JSP can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html