|
[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
[Recent Entries]
[Reply To This Message]
Re: Repart generation with XSL Stylesheet
Subject: Re: Repart generation with XSL Stylesheet
From: "Swati" <Swati@xxxxxxxxxxxxxx>
Date: Tue, 2 Jul 2002 15:18:08 +0530 (India Standard Time)
|

|
You could probably use custom taglibraries to apply stylesheets to
your xml data at server side
-swati
-------Original Message-------
Date: Tuesday, July 02,
2002 14:58:11
Subject: Re:
Repart generation with XSL Stylesheet
Ranjith Kodikara wrote:
>We are developing a
information selling system for a chamber of commerce and >we want to
generate reports for user requests. First we let users to select >a
query criteria. Then I hope to generate an xml document; which is a
jsp >file generated from the database, with xml content type. Then
at the moment >my idea is to generate an html document by parsing
that xml file via an xsl >stylesheet. >
if you want the
browser to transform the XML into HTML, then no problem. If you want
to do that server side, you'll be in a bit more trouble because you're
doing that in JSP.
>Do you think this method is suitable? Then
can I write an xsl stylesheet >with jsp. > What
for?
>If I generate html's with xml files using Xalan , when
users are generating >reports doesnt the folder in the web server
get filled with html files? > No, if you don't save them to disk.
You just need to send the HTML to the browser.
However, I
insist that if you generate XML with your JSP and want to transform
the XML into HTML server side, you may have a hard time, especially if
you are a newbie to the JAXP API.
Tip: Generate the XML in a
StringBuffer, but do not output it. Transform it using whatever XSLT
engine you like, and then output the HTML. Content-type:
text/html.
Otherwise, you can send your XML and XSL to the browser
(use <?xsl-stylesheet ...?>) and let the browser do the
transform. This will work with Mozilla and IE6.0
only.
Antonio Fiol
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
. |
____________________________________________________ http://www.incredimail.com/redir.asp?ad_id=309&lang=9 IncrediMail - Email has finally evolved -
http://www.incredimail.com/redir.asp?ad_id=309&lang=9
|

| Current Thread |
- Schema Optimsations Was XSL: For-Each Efficient or Not?, (continued)
- Kevin Jones - Mon, 1 Jul 2002 18:16:57 -0400 (EDT)
- Michael Kay - Tue, 2 Jul 2002 04:32:02 -0400 (EDT)
- Ranjith Kodikara - Tue, 2 Jul 2002 05:08:45 -0400 (EDT)
- Antonio Fiol - Tue, 2 Jul 2002 05:17:44 -0400 (EDT)
- Swati - Tue, 2 Jul 2002 05:49:34 -0400 (EDT) <=
- Denis McCarthy - Tue, 2 Jul 2002 06:34:24 -0400 (EDT)
- J.Pietschmann - Tue, 2 Jul 2002 15:48:10 -0400 (EDT)
- Michael Kay - Wed, 3 Jul 2002 10:02:36 -0400 (EDT)
- J.Pietschmann - Wed, 3 Jul 2002 16:35:58 -0400 (EDT)
|
|
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format
| RSS 2.0 |
|
| Atom 0.3 |
|
|