tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rick Ross" <rr...@stupendousman.com>
Subject Re: <x:transform> using <xsl:include>
Date Mon, 28 Jul 2003 05:06:56 GMT
That should work with the file:// protocol as well (for the local
filesystem, at least).

R
----- Original Message -----
From: "Felipe Leme" <t5jtjj502@sneakemail.com>
To: <taglibs-user@jakarta.apache.org>
Sent: Sunday, July 27, 2003 9:24 PM
Subject: Re: <x:transform> using <xsl:include>


> Hi Aaron,
>
> I had exactly the same problem you had, and the solution I found was to
use a
> full URI for the xsl (i.e, with the http:// poiting to your web server).
In
> my case, I used the following jsp code:
>
> <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
> <%@ taglib prefix="x" uri="http://java.sun.com/jstl/xml" %>
>
> <c:set var="xslURI"
> value="http://localhost:8080/jm9-jstl/xsl/output/br-html.xsl"/>
> <c:set var="xmlURI"
value="http://localhost:8080/jm9-jstl/xml/resume.xml"/>
> <c:import url="${xmlURI}" var="xml"/>
> <c:import url="${xslURI}" var="xslt"/>
>
> <x:transform xml="${xml}" xmlSystemId="${xmlURI}" xsltSystemId="${xslURI}"
> xslt="${xslt}"/>
>
> Try to adapt that code to your page (just changing the values of xslURI
and
> xmlURI).
>
> Felipe
>
>
>
> On Wednesday 09 July 2003 11:31 am, Aaron Jackson
jacksonakj-at-hotmail.com
> |jakarta| wrote:
> > I have the following JSP that is using <x:transform>  to do a
> > transformation.  The xsl that I am using has "<xsl:import>" tags that
are
>
> > <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core"; %>
> > <%@ taglib prefix="x" uri="http://java.sun.com/jstl/xml"; %>
> >
> > <c:import url="/xml/aaronjackson.xml" var="xml"/>
> > <c:import url="/xsl/output/us-html.xsl" var="xslt"/>
> > <x:transform xml="${xml}" xslt="${xslt}"
> > xsltSystemId="/xsl/output/params.xsl"/>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: taglibs-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: taglibs-user-help@jakarta.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: taglibs-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: taglibs-user-help@jakarta.apache.org


Mime
View raw message