|
Subject: [xsl] Running the same transformation on many input files, optimisation possible? From: "Trevor Nicholls trevor@xxxxxxxxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> Date: Sun, 15 Dec 2019 09:02:56 -0000 |
Hi
An application I am working on contains a large number of source documents
which are all run through the same series of transformations. While
initially the build process didn't take long the cost of repeatedly
initialising the XSL processor soon adds up, so I am looking at ways to
streamline it.
Our processor of choice is Saxon (currently we are using 8.7.3) so I can
shift this question to the Saxon list if there are extensions there that are
relevant.
So the question; given a script that essentially includes the following:
cd documents
for d in `cat dlist`; do
cd $d
for f in `cat flist`; do
java -jar $SAXONDIR/saxon8.jar -o $f.new.xml $f.xml
$SCRIPTDIR/transform.xsl doc=$d file=$f
done
done
is there a mechanism which would allow a single Java process to perform the
equivalent?
Thanks
T
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] command line invocation i, Martin Honnen martin | Thread | Re: [xsl] Running the same transfor, Martin Honnen martin |
| Re: [xsl] command line invocation i, Dave Pawson dave.paw | Date | Re: [xsl] command line invocation i, Martin Honnen martin |
| Month |