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

RE: Processing multiple files

Subject: RE: Processing multiple files
From: "Andrew Welch" <ajwelch@xxxxxxxxxxxxxxx>
Date: Wed, 1 Sep 2004 15:40:35 +0100
processing multiple files in java
> So, for example, I have DirectoryA, which contains PubFile1,
> ActivityFile1A, ActivityFile1B, PubFile2, ActivityFile2A,
> ActivityFile2B. What I need to do is take a few pieces of
> info from PubFile1 and start an output file (Output1). Then,
> I need to loop through all related ActivityFile documents and
> add the output of those to the Output1 file.

This is fine, have a look at the document() function in XSLT, and (if
you are using java) you should google for 'custom uriresolver' for more
info

> When that is
> complete, I need to move on to PubFile2 and create Output2,
> looping through the ActivityFile2 docs and adding their
> output to Output2.

You will need to do this in whatever language is performing the
transform - java,  etc.  I know Saxon has the ability to transform whole
directories from the command line if you are going down the batch route.

> (since I'm on the digest, an off-list reply would be even
> more appreciated...)

But that defeats the object of a public mailing list...

cheers
andrew

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.