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

multiple <xsl:output/>'s in one stylesheet?

Subject: multiple <xsl:output/>'s in one stylesheet?
From: "Jeff Barrett" <JBarrett@xxxxxxxxxxxxxxx>
Date: Mon, 28 Oct 2002 17:51:07 -0800
xsl output multiple
I've got one stylesheet that creates multiple output text files (via subclassing Saxon's Emitter).  Some of those files now need to be in a different output format, html.  I noticed that in the XSLT Prog. Ref. that it said the <xsl:output/> element, "may appear any number of times in a stylesheet".  It's also a top-level element.  I'm trying to determine how I should be using the output element given my situation.

Questions:
1) do multiple outputs actually format the output differently in different parts of the stylesheet, or is only one of them used, e.g. the first or the last

2) if multiple outputs do format different parts of the stylesheet differently, what are the rules of usage?

3) if i can't output multiple formats from the same stylesheet, will using <xsl:output method="html"/> for the text output mess anything up as long as there isn't any html in the text?  (i'm guessing no)

4) since all the output will take place within an <xsl:document method="MyEmitterClass"/> does any of this matter or does the document element somehow negate the output tag

thanks,
+jeff

 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.