which value do I have to use here
This is an open discussion with 2 replies, filed under XSLT.
Search
I guess you mean the <xsl:with-param name="date" select="month"/>
part, right?
That thing is called the Format Date/Time Utility and expects a string like YYYY-MM-DD
. So in your case you would have to prepend a dummy year and append a dummy day to @value
, i.e. using the concat()
method.
So it will be <xsl:value-of-select="concat('2222','-',@value,'-01')"
Create an account or sign in to comment.
Hello,
Here's the relevant part of my xml.
and here's my xslt for the month part:
Now I wonder what I have to fill in on select. I tried @value, month, mont/value but without any sucess.