You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by "Jayram, Ven" <Ve...@mdx.com> on 2003/07/01 22:42:11 UTC
RE: XSLT Service
Jason:
is your deployment in a WAR archive..
the getRealPath() when looking for stylesheets breaks.
i have my path(services.XSLTService.path) set to /xsl on c:
and it does not find it.
Thanks,
Ven
-----Original Message-----
From: Jason Baragry [mailto:Jason.Baragry@nr.no]
Sent: Thursday, June 26, 2003 8:49 AM
To: Jayram, Ven
Cc: 'Turbine Users List '
Subject: Re: XSLT Service
> That is very similar to what I have already done.. the question is
> if we could intermingle vm macros and xsl in .vm file. such as in
Example.vm
>
>
>
> <xsl:stylesheet ....>
> ....
> ...
> <xsl:template match="/">
> #myInputBox(....)
> </xsl:template>
> </xsl:stylesheet>
>
>
I don't know about macros but I do access other turbine properties from
within my XSL file.
eg. user interface properties.
<xsl:template match="/">
...
<tr>
<th bgcolor="$ui.formLabelColor">Product Name</th>
<td bgcolor="$ui.formFieldColor"><xsl:value-of
select="//my_attribute"/>
I can't remember if I tried macros or not.
Jason
--
Jason Baragry
Software Development Research
Norwegian Computing Center.
www.nr.no/~jason
---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org
Re: XSLT Service
Posted by Jason Baragry <Ja...@nr.no>.
Jayram, Ven wrote:
> Jason:
> is your deployment in a WAR archive..
No.
> the getRealPath() when looking for stylesheets breaks.
> i have my path(services.XSLTService.path) set to /xsl on c:
>
I have the same setup and it works ok.
the /xsl works from
./tdk2.2/webapps/myApp/xsl not from inside WEB-INF
Jason
---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org