[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
Re: multiple input to multiple output
Subject: Re: multiple input to multiple output From: David Carlisle <davidc@xxxxxxxxx> Date: Fri, 10 Dec 1999 11:30:22 GMT |
> Can I by any chance use the document function for this? only if you know in advance what the files are: <xsl:apply templates select="document('file1.xml')"/> <xsl:apply templates select="document('file2.xml')"/> . . . Which is a bit of a pain, in which case it is easier to do for i in *.xml ; do xt $i style.xsl ; done (whatever the nt command line syntax for a loop is, that is (ba)sh syntax) The disadvantage of that is it starts up the java virtual machine and reparses the stylesheet afresh on each input file. This is normally what I do, but what probably I ought to do is instead of running xt from the command line like that, have a small java wrapper program that gets all the files in the directory and passes them to the xt class. I post enough xsl to this list, I'm not going to risk my reputation by posting java to it, someone else may be able to comment on the viablity of this method:-) David XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: multiple input to multiple outp, Sebastian Rahtz | Thread | RE: multiple input to multiple outp, Robert C. Lyons |
Re: multiple input to multiple outp, Sebastian Rahtz | Date | RE: multiple input to multiple outp, Linda van den Brink |
Month |
Keywords