Previous | Next | Indexes
adultinternetusers > Tutorials > XSLT 2.0 Tutorial > Date and Time (7/7) >

Days, months, and years from durations


                  exclude-result-prefixes=" sch">
            <xsl:output  method="xml"

            <xsl:template  match="/aaa">
                  <xsl:variable  name="xxx"
                              select="current-date() - '0001-01-01' cast as sch:date"/>
                        <xsl:value-of  select="$xxx"/>
                        <xsl:value-of  select="years-from-duration($xxx cast as sch:dayTimeDuration)"/>




error - XPST0051
XPath syntax error at char C on line L in {...x cast as sch:dayTimeDurati...}: Unknown atomic type sch:dayTimeDuration

Failed to compile stylesheet. 1 error detected.

Previous chapter: Recursions
Next chapter: Comments and processing instructions
Previous page: Subtracting dates
Next page: - - -

Kevin Carr in Stanton

Natural Skin Care and European Soaps
Kevin Carr
Mayor Dave Shawver Stanton

You can also get Organic Skin Care products from Bliss Bath Body and you must check out their Natural Body Lotions and bath soaps

Now if you are looking for the best deals on surf clothing from Quiksilver and Roxy then you have to check these amazing deals here:

Hey, check out this Organic Skin Care European Soaps along with Natural Lavender Body Lotion and shea butter

and we can get surf t shirts surfing shirt and And you must check out this website swim suit swimming suit and swim trunks