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:[EMAIL PROTECTED]
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to