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

Re: Multiple output files

Subject: Re: Multiple output files
From: Oleg Tkachenko <olegt@xxxxxxxxxxxxx>
Date: Wed, 09 Apr 2003 09:29:05 +0200
nxslt multiple output
Hugh Dixon wrote:

I would like to write a style sheet that writes/saves to multiple files.
My concept is of a "document()" to which I can "assign"/send a variable.
A separate document (and variable) could then be created for each file.
I can organise myself to only have one file at a time, so there is no
need to go back and add to files that have already been created. I
believe this could be done using JavaScript, but to me, an XSL solution
would be vastly preferable. The solution is targeted to run on the
Microsoft parser, which may, or may not restrict the options!!!

If you are on Microsoft .NET XSLT engine, you can use MultiXmlTextWriter [1] class or nxslt [2] command line utility, both support exsl:document [3] extension element.


[1] http://www.gotdotnet.com/Community/UserSamples/Details.aspx?SampleGuid=eb428879-da33-42fc-9e9b-a8c0ed5f5452
[2] http://www.tkachenko.com/dotnet/nxslt.html
[3] http://www.exslt.org/exsl/elements/document/index.html
--
Oleg Tkachenko
http://www.tkachenko.com/blog
Multiconn Technologies, Israel



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.