MAHE Vincent FTRD/DIH/REN wrote:
>
> Can anyone tell me what is the fastest way to process one unique XML file
> against several XSL files.
> I mean, I want to process the same XML file with different XSL files (and I
> have a lot of them !).
I think is a sample with the xalan distribution (pipeline.java) or
something like that
which show the use of XSLT processor from data.
So, you have to parse your xml file, build the good data structure, and
give it to
all your XSLT processor.
i think the data has to implement ContentHandler. Which i think can be
obtain from a XML reader.
So, after send this Content hangler to your differents XSLT Processor.
is it the fatest way ? hum .. not sure... but in the idea it seems not
too stupid ;-)
And you read only once you xml file.
Laurent
-----------------------------------------------------------------
.
..
.' @`._ Laurent Tardif
~ ...._.' ,__.- Monach University
_..------/` .-'; mailBox 36 - Building 26
: __./' , .'-'- ~ School of Computer Science
~ `---(.-'''---. \`._ -.._ and Software engineering
_.--'( .______.'.-' `-.` `. ~ Clayton Victoria 3168
: `-..____`-. `. Australia
`. ```` ; Phone : xxx55779
`-.__ ; www.inrialpes.fr/opera
````-----.......---- __.-'