469,646 Members | 1,235 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,646 developers. It's quick & easy.

'current-dateTime' is not a valid XSLT or XPath function.

a statement as simple as that, but not working,...

<xsl:variable name="now" select="current-dateTime()" />

I can't find a working example in the Internet...

Sep 30 '07 #1
3 7615
You need an XSLT 2.0 processor for that... Look at Saxon 8 for
instance.

Best Regards,
George
---------------------------------------------------------------------
George Cristian Bina
<oXygen/XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com

Sep 30 '07 #2
Thanks.

I have tested on IE7 & FF2.0, seems not supported.

So any suggestion for datetime handling on web browser using xml/xslt?

Thanks again.

On 9 30 , 7 10 , George Bina <geo...@oxygenxml.comwrote:
You need an XSLT 2.0 processor for that... Look at Saxon 8 for
instance.

Best Regards,
George
---------------------------------------------------------------------
George Cristian Bina
<oXygen/XML Editor, Schema Editor and XSLT Editor/Debuggerhttp://www.oxygenxml.com

Sep 30 '07 #3

"howa" <ho******@gmail.comwrote in message
news:11**********************@d55g2000hsg.googlegr oups.com...
Thanks.

I have tested on IE7 & FF2.0, seems not supported.

So any suggestion for datetime handling on web browser using xml/xslt?
Use Javascript within the HTML of the page and start the XSLT transformation
from there. Pass date-time data as parameters.

Cheers,
Dimitre Novatchev
Sep 30 '07 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by christianlott1 | last post: by
reply views Thread by Aaron Morton | last post: by
3 posts views Thread by Chris Mellon | last post: by
2 posts views Thread by Dave | last post: by
reply views Thread by gheharukoh7 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.