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

H

howa

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...
 
G

George Bina

You need an XSLT 2.0 processor for that... Look at Saxon 8 for
instance.

Best Regards,
George
 
H

howa

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.
 
D

Dimitre Novatchev

howa said:
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,008
Messages
2,570,271
Members
46,874
Latest member
CyberGateway

Latest Threads

Top