logo       
Google Custom Search
    AddThis Social Bookmark Button

Re: xslt parameters not expanded: msg#00020

Subject: Re: xslt parameters not expanded

Hi, Valentin.

misu200 <misu200@xxxxxxxxx> 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@xxxxxxxxxx



Try Searching:
servers, voip, java, networking, microsoft ...
<Prev in Thread] Current Thread [Next in Thread>