|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] xslt parameters used in custom function
Hello all,
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'
Why is that not 'eeee' (or whatever)?
I've also tried somenthing like {$DateFormat} or
string($DateFormat) but it doesn't work.
It works to output the param to the result.It's just
that I can't pass the xslt parameter as a parameter to
my custom class.
I'm using Xalan-Java Version 2.7.0 and Java 1.5
Thanks,
Valentin
____________________________________________________________________________________
Bored stiff? Loosen up...
Download and play hundreds of games for free on Yahoo! Games.
http://games.yahoo.com/games/front
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|






