From: "James Strachan" <[EMAIL PROTECTED]>
> Agreed - I've had this thought too. The only real issue is the current
JAXP
> API for XSLT requires that all variables be pushed into XSLT - XSLT is not
> capable of pulling the variables depending on the contents of the
> stylesheet. So the only way, until JAXP changes, is via
>
> <x:transform...>
>     <x:param name="foo" value="${something."/>
> </x:tranform>

Another way could be that when Transformer objects are created, all
available JSP scoped variables could be fired into the Transformer using the
setParameter() method before its used, just in case they are referred to by
the stylesheet. Though this is an inefficient solution to the problem; it'd
be far better for the stylesheet to pull what variables it needs, on
demand,.

James


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to