Hava a look at the sample servlets etc. that come with the Apache Xalan-J
package.
Paul
-Original Message-
From: Ashish Kulkarni [mailto:[EMAIL PROTECTED]
Sent: 13 November 2003 19:14
To: [EMAIL PROTECTED]
Subject: [OT] generate HTML file from XML and XSLT
Hi,
I have a XML file
() );
===
now you have a StringBuffer of the xsl transformation.
-Original Message-
From: Paul McCulloch [mailto:[EMAIL PROTECTED]
Sent: Friday, November 14, 2003 9:42 AM
To: 'Struts Users Mailing List'
Subject: RE: [OT] generate HTML file from XML and XSLT
Hava a look
, 2003 10:58 AM
To: 'Struts Users Mailing List'
Subject: RE: [OT] generate HTML file from XML and XSLT
Try something similar to this:
import javax.xml.transform.*;
StringBuffer outHTML = new StringBuffer();
StringWriter ouput = new StringWriter();
java.net.URL xslUrl = this.getClass().getResource
it for some other
purpose as well.
-Original Message-
From: Jimmy Emmanual [mailto:[EMAIL PROTECTED]
Sent: Friday, November 14, 2003 10:58 AM
To: 'Struts Users Mailing List'
Subject: RE: [OT] generate HTML file from XML and
XSLT
Try something similar to this:
import
Hi,
I have a XML file and a XSLT file, i need to create a
HTML file in a temp directory then read this file to
get a String so can email this String or print the
String as HTML
is it possible to do it?? and how
I am using jdk1.4.1
Ashish
=
A$HI$H
__
Do you
to get an Html output you can use JAXP's javax.xml.transform.* Package.
to mail the same out put you have to generate a String containing all the html output
and
use the ByteArrayDataSource.java class which u get from java mail examples from sun.
i did this in one of my project.let me know if
6 matches
Mail list logo