[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Error -- Could not find function: adjust-time-to-timez

Subject: Error -- Could not find function: adjust-time-to-timezone
From: <Girish.Chelankara@xxxxxxxxxxxxxxxxxx>
Date: Thu, 25 Jan 2007 14:06:13 +0530
xsl could not find function
Hi,

I am using "Saxon 8" and trying to call the function
"adjust-time-to-timezone" as per the following code. It gives me the
error "could not find function".
I tried changing the version of Saxon and also by changing various
attributes and values of xsl:stylesheet tag. Still it gives the same
error.
Please help.


<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="2.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:fn="http://www.w3.org/TR/xpath-functions"
xmlns:xdt="http://www.w3.org/2005/xpath-datatypes">

      <xsl:output method="text"/>
      <xsl:template match="myxml/elem1">
            <xsl:variable name="MY_TIME" value="20:30"/>
            <xsl:variable name="DURATION" value="-PT6H"/>
            <xsl:value-of
select="adjust-time-to-timezone(xs:time($MY_TIME),xdt:dayTimeDuration($D
URATION))"/>
      </xsl:template>

</xsl:stylesheet>

Thanks & Regards,
Girish C

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.