Hi, Marco.
"Marco Laponder" wrote on 2005-01-24 01:46:46 AM:
> Thanks for you response. I did try to use the ExpressionContext
> object by calling
> the getVariableOrParam() function but it didn't find the param I set
> on the transformer
> (can't remember the exact message but I can look it up) with the
> setParameter() function.
I tried a simple example, and ExpressionContext.getVariableOrParam()
worked correctly for me. Please open a bug report in Jira if you find
there is a problem with that method.
> Regarding the portability, what woulf be the correct (portable) way
> to pass an object to
> an extension ?
Use of extension functions - particularly user-defined extension
functions - in XSLT is inherently not portable. It wasn't very helpful of
me to point out that using ExpressionContext wouldn't be portable. Sorry
about that. I don't have any suggestions for a portable means of defining
extensions functions.
Thanks,
Henry
------------------------------------------------------------------
Henry Zongaro Xalan development
IBM SWS Toronto Lab T/L 969-6044; Phone +1 905 413-6044
mailto:[EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]