[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: one or two stylesheets to output html and pdf(fo)

Subject: Re: one or two stylesheets to output html and pdf(fo) fromthe same x ml source?
From: "J.Pietschmann" <j3322ptm@xxxxxxxx>
Date: Mon, 01 Jul 2002 21:55:36 +0200
output html as pdf
Braumüller, Hans wrote:
i am thinking to start to incorporate pdf - documents in a web application.

So if the user click on the button pdf i want to display a pdf document
transformed from the same xml-source, from which my sytlesheet have had
generated the html page, he is using.

My question is what is better to code in aspects of easy to use,
optimization, loading time and maintenance, working with one stylesheet
using different namespaces to output these two kinds of display or  coding
two main separated stylesheets?

The usual approach is to use two different style sheets. After all, you are adressing two different URLs. Sometimes a pipelining approach as provided by Cocoon can be an advantage: transform a bunch of documents with a varying XML structure into an XML with some sort of "display" structure and then transform this either into HTML or XSLFO.

J.Pietschmann


XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list



Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.