|
-
Dec 8th, 2010, 10:17 PM
#1
XSLT Function
Have you ever tried to use a function within an XSL transformation?
In my case, I followed an online tutorial and came to a conclusion that some functions work, while others don't.
PHP Code:
String length: <xsl:value-of select="string-length(artist)" />
<br />
Current Date: <xsl:value-of select="current-dateTime()" />
<hr />
In this case, string-length(artist) worked for me, but as soon as I put in the current-dateTime, it messes up the output. Can anyone tell me how can I get the XSL to output the current-dateTime()?
Everything that has a computer in will fail. Everything in your life, from a watch to a car to, you know, a radio, to an iPhone, it will fail if it has a computer in it. They should kill the people who made those things.- 'Woz'
save a blobFileStreamDataTable To Text Filemy blog
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|