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

Re: multiple file output from one XML file

Subject: Re: multiple file output from one XML file
From: Laurence O Garfield <lgarfiel@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 16 Jul 2001 09:34:48 -0500 (CDT)
xslt multiple file output
On Mon, 16 Jul 2001 roger.day@xxxxxxxxxxxxxxxxxx wrote:

> and filter the output into several HTML files - one file for each <poems>
> element.
>
> I've looked through the new Big Red Book but found nothing in XSLT that covers
> this. Will I have to filter the XML with something like Xalan or Java -first-
> before sending the node to be filtered by a style sheet?
>
> Roger

XSLT 1.0 doesn't support multiple-stream output unfortunately, but many
XSLT engines have their own extensions that do.  Xalan-J has one set of
extensions, XT has another, I'm pretty sure MSXML would have one as well
although I've not looked into it.

XSLT extensions are a valid concept permitted by the W3C spec, but if you
really don't want to use any engine-specific code then what you can do is
define your overall XML file as a bunch of separate XML files, one for
each <poem>, then include them all as entities in a central poem-book.xml
file.  Then have a smart script (or set of scripts) that you run on each
file separately.  Use a bash script to make it easier to run the processor
on each pair of files.  It's not quite as clean, but it won't be
engine-dependent.

--Larry Garfield


 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.