So, assuming you've done one of the following in a servlet or filter or...:

servletContext.setAttribute("xformSource", xformSource)
session.setAttribute("xformSource", xformSource)
request.setAttribute("xformSource", xformSource)

You should be able to do:

<x:transform xslt="${xformSource}" .../>

Have you tried something similar and it's not working?

Quoting Dennis Warren <[EMAIL PROTECTED]>:

> I'm trying to specify a javax.xml.transform.Source variable for the 
> attribute of "xslt".  However, I'm not too sure how to do this.  The 
> reason I want to do this is because I want to avoid importing a document 
> via c:import.  I'm setting the "xsltSystemId" attribute and using my own 
> custom caching transformer implementation, and therefore do not need to 
> use c:import as long as I specify an xsltSystemId attribute.  With 
> specifying a javax.xml.transform.Source variable, I hope to avoid the 
> "xsltSystemId" attribute all together.
> 
> Any suggestions would be greatful.  I have yet to see any examples of 
> using this type of variable for the "xslt" attribute of x:transform, but 
> the spec says it's applicable.
> 
> thanks,
> 
> -Dennis

-- 
Kris Schneider <mailto:[EMAIL PROTECTED]>
D.O.Tech       <http://www.dotech.com/>

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

Reply via email to