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

RE: converting xml files in multiple directories to m

Subject: RE: converting xml files in multiple directories to multiple output directories
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Tue, 16 Nov 2004 13:53:48 -0000
create multiple directories
Saxon can handle this without trouble, but only from the Java API, not from
the command line.

Alternatively, if you don't want to use the Java API, you could create an
XML document that lists all the files to be processed, and then control the
individual transformations from XSLT, by calling document() to read each
input file, saxon:output to create an output file, and then apply-templates
to do the transformation. 

(I assume you mean 6.5.3? If you're using it with a Java application, make
sure you use the full Saxon version, not "Instant Saxon").

Michael Kay
http://www.saxonica.com/



> -----Original Message-----
> From: Mario Michlits [mailto:mario.michlits@xxxxxxxx] 
> Sent: 16 November 2004 11:30
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject:  converting xml files in multiple directories 
> to multiple output directories
> 
> I am currently using Saxon 6.4.3 on Windows 2000 to to 
> transform multiple XML files in multiple directories. As far 
> as I know saxon can only handle a single xml file or a single 
> directory as input, but not a whole structure of directories 
> (including subdirectories). So in a batch file I always have 
> to call Saxon once for each directory I want to handle. As 
> this is quite time consuming I would like to use an XSLT 
> processor that needs only one single directory as input and 
> processes all subdirectories containing the XML files i want 
> to transform. The output should be done the same way.
> Is Saxon capable of doing this? If not, is there any other 
> XSLT processor available that fulfils my requirement?
> 
> regards
> Mario Michlits

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.