  | |  | xslt parameters not expanded | xslt parameters not expanded 2007-03-29 - By Henry Zongaro
Hi, Valentin.
misu200 <misu200@(protected)> wrote on 2007-03-28 11:43:18 AM: > I have an XSLT parameter like: > <xsl:param name="DateFormat">'eeee'</xsl:param> > > I'm trying to use this XSLT parameter as a parameter to my custom class > > <xsl:value-of > > select="java:x.y.z. > convertDate(string(calculationPeriodDates/terminationDate/unadjustedDate), > $DateFormat)" > /> > > But each time I've found out that in z.convertDate the second parameter i > received is '$DateFormat'
I tried placing your fragment into a stylesheet, but I was unable to reproduce the problem you are describing. Which version of Xalan-J are you using? Are you using the interpretive processor or XSLTC? Are you able to provide a complete stylesheet and extension function implementation that demonstrate the problem?
Thanks,
Henry ------------------------------------------------------------------ Henry Zongaro XSLT Processors Development IBM SWS Toronto Lab T/L 969-6044; Phone +1 905 413-6044 mailto:zongaro@(protected)
<br><tt><font size=2>Hi, Valentin.</font></tt> <br> <br><tt><font size=2>misu200 <misu200@(protected)> wrote on 2007-03-28 11:43:18 AM:<br> > I have an XSLT parameter like:<br> > <xsl:param name="DateFormat">'eeee'</xsl:param><br> > <br> > I'm trying to use this XSLT parameter as a parameter to my custom class<br> > <br> > <xsl:value-of <br> > <br> > select="java:x.y.z.<br> > convertDate(string(calculationPeriodDates/terminationDate/unadjustedDate), <br> > $DateFormat)" <br> > /><br> > <br> > But each time I've found out that in z.convertDate the second parameter i<br> > received is '$DateFormat'<br> <br> I tried placing your fragment into a stylesheet, but I was unable to reproduce the problem you are describing. Which version of Xalan-J are you using? Are you using the interpretive processor or XSLTC? Are you able to provide a complete stylesheet and extension function implementation that demonstrate the problem?</font></tt> <br><font size=2 face="sans-serif"><br> Thanks,<br> <br> Henry<br> ------------------------------------------------------------------<br> Henry Zongaro XSLT Processors Development<br> IBM SWS Toronto Lab T/L 969-6044; Phone +1 905 413-6044<br> mailto:zongaro@(protected)</font> <br> <br>
|
|
 |