You would set the parameter on the XalanTransformer instance which is
actually going to perform the transformation. This may be a bug in
XalanTransfomer, or a bug in your stylesheet.
You should try testing your stylesheet with the testXSLT command line
program to see if it works as expected. If it does, then please file a bug
report, and attach a minimal stylesheet and source xml file, along with a
minimal code snippet that reproduces the problem.
Dave
"Avula, Raj"
<RAvula@first To: "'[EMAIL PROTECTED]'"
<[EMAIL PROTECTED]>
am.com> cc: (bcc: David N Bertoni/CAM/Lotus)
Subject: using Stylesheet Param with
Pre-parsed
08/29/2001 stylesheet(xalan c++).
02:42 PM
Please
respond to
xalan-dev
Hi,
I want to basically pass a paramter to stylesheet.
In my Application, I am using a global XalanTransformer class to parse the
stylesheet,
and another XalanTransformer calss for the actual transformation by reusing
the XalanCompileStylesheet.
My Problem here is on which instance of XalanTransformer should I be
calling
setStylesheeParam() mehtod.
I tried both the cases. Stylesheet is not able to recieve parameters in
both
the cases.
Can any body tell me what is going wrong here.
Thanks,
Raj.