I'm trying to figure out how to use the "var", "scope", and "result"
attributes on <x:transform> to speed up my transformations.
What I have right now is this:
<x:transform xml="${xmlFile}" xslt="${xsltFile}">
<x:param name="currentID" value="${param.myID}" />
<x:param name="expandID" value="${param.expand}" />
</x:transform>
The catch is that the value of the currentID and expandID will be
different each time the transformation is run.
In that case then, even if I cache the transformer somehow using the
"result" and with scope="application" attributes, won't this be pointless
since the parameters change?
Or (hope, hope) does the caching simply ignore the parameters and just
keep the DOM (or whatever xalan uses to represent it) of the XML document
in memory, and then apply the parameters to the stored tree each time the
transformation is called ? And if so, how would I do this?
Thank you for any advice,
-carole
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Carole E. Mah [EMAIL PROTECTED]
Senior Programmer/Analyst
Brown University Scholarly Technology Group
phn 401-863-2669
fax 401-863-9313
http://www.stg.brown.edu/
personal: http://www.stg.brown.edu/~carolem/
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>