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

RE: Batch processing

Subject: RE: Batch processing
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Tue, 29 May 2007 09:31:02 +0100
RE:  Batch processing
Invoking multiple transformations through the command line is very
inefficient - it means reinitializing the Java VM for each one.

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

> -----Original Message-----
> From: J. S. Rawat [mailto:jrawat@xxxxxxxxxxxxxx] 
> Sent: 29 May 2007 06:59
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: RE:  Batch processing
> 
> ...but I want it to call it within for-each loop and want to 
> call commandline. If you are aware of Perl, we can do it by $sh.
> 
> At 01:03 PM 5/28/2007 +0100, you wrote:
> >You don't need the collection() function for this, you can 
> do it with 
> >document(). With <dir> as your current node, do
> >
> ><xsl:apply-templates select="document(xmlFile)" mode="m"/>
> >
> >and it will cause each of these input documents to be processed.
> >
> >Michael Kay
> >http://www.saxonica.com/
> >
> > > -----Original Message-----
> > > From: J. S. Rawat [mailto:jrawat@xxxxxxxxxxxxxx]
> > > Sent: 28 May 2007 11:38
> > > To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> > > Subject:  Batch processing
> > >
> > > Dear lists-
> > > There are a list of files listed in XYZ.XML. Is there a 
> way by which 
> > > I can process these files by XSLT by saxon.
> > > Basically I want a batch processing.
> > > I want to put files into server alongwith XYZ.xml and 
> need to pass 
> > > one commandline to process all the XML. I am just confused with 
> > > collection().
> > >
> > > XYZ.XML
> > > <dir>
> > > <xmlFile>input.xml</xmlFile>
> > > <xmlFile>input_meta.xml</xmlFile>
> > > <xmlFile>sample.xml</xmlFile>
> > > <xmlFile>x.xml</xmlFile>
> > > </dir>
> > >
> > > thanks
> > > ..JSR

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.