Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
sHello all, here's a snippet of xslt that seems to disobey the laws of physics...
1 <xsl:value-of select="@createDate"/><br/>2 <xsl:value-of select="umbraco.library:LongDate('2011-06-03T10:30:46')"/><br/>3 <xsl:value-of select="umbraco.library:LongDate('@createDate')"/><br/>
Line 1 works ... the create date is rendered from the @createDate property.
Line 2 works ... the static text date is rendered and formatted.
Line 3 fails ... nothing is rendered. Huh?
All advice appreciated. Cheers,
-R
should be
<xsl:value-of select="umbraco.library:LongDate(@createDate)"/><br/>
Thanks Eran! We copied the source from an online video but apparently missed that. Appreciate your help,
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Perplexed by umbraco.library calls
sHello all, here's a snippet of xslt that seems to disobey the laws of physics...
1 <xsl:value-of select="@createDate"/><br/>
2 <xsl:value-of select="umbraco.library:LongDate('2011-06-03T10:30:46')"/><br/>
3 <xsl:value-of select="umbraco.library:LongDate('@createDate')"/><br/>
Line 1 works ... the create date is rendered from the @createDate property.
Line 2 works ... the static text date is rendered and formatted.
Line 3 fails ... nothing is rendered. Huh?
All advice appreciated. Cheers,
-R
should be
<xsl:value-of select="umbraco.library:LongDate(@createDate)"/><br/>
Thanks Eran! We copied the source from an online video but apparently missed that. Appreciate your help,
-R
is working on a reply...