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

Re: create multiple documents

Subject: Re: create multiple documents
From: Jeni Tennison <jeni@xxxxxxxxxxxxxxxx>
Date: Thu, 18 Oct 2001 16:09:04 +0100
xslt multiple documents
Hi Mike,

> My question is if I can create multiple XML/html files through 1
> XSL. Like use multiple apply-templates with each one to create a new
> document.

There is no standard way to create multiple outputs from a single
transformation using XSLT 1.0. The XSLT 1.1 WD defined a standard way
of generating multiple outputs using xsl:document, but XSLT 1.1 has
been put on hold. I imagine that you'll see this functionality in XSLT
2.0 instead.

However, several XSLT processors have an extension element that allows
you to do it (e.g. Xalan's redirect extensions, saxon:output/document,
xt:document). Alternatively, Saxon and jd.xslt both implement the XSLT
1.1 WD, so you can use xsl:document with them. Or if you're using
MSXML, then you should be able to write an extension method that saves
XML to disk (I think Chris Bayes was working on this - Chris?).

The bottom line is that you should look at the documentation of the
XSLT processor you're using to find out if and how you can generate
multiple outputs.

I hope that helps,

Jeni

---
Jeni Tennison
http://www.jenitennison.com/


 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.