I think I discovered today that the only JAR files needed for the
following code is standard.jar and js.jar.  Is this true?

<c:import url="/styles/assets.xsl" var="xsl"/>
<x:transform xsltText="$xsl">
        <asset>
                <type><%= request.getAttribute("contentType") %></type>
                <path><app:attribute name="repositoryViewPath"/></path>
                <file><%= request.getAttribute("fileName") %></file>
        </asset>
</x:transform>

Also, is this the correct way to do this transformation.  It works for
me, just wondering if it's the "best practice."

I tried to use:

<x:transform xsltUrl="/styles/assets.xsl">

but it tried to find this file in directory I started tomcat from.

Thanks,

Matt


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

Reply via email to