Named Template not found
"Jason Stadther" <[email protected]> Tue, 18 Sep 2007 11:37:47 -0400
| Newsgroups | gmane.text.xml.xslt.extensions |
|---|---|
| Message-ID | <[email protected]> |
Named template '{http://exslt.org/dates-and-times}format-date' does not
exist in the stylesheet.
I can't seem to figure out why I keep getting this error. All the files are
in the right spot and I think I'm referencing them correctly. Here is the
start of my xls page.
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:date="http://exslt.org/dates-and-times"
>
<xsl:import href="exslt/functions/format-date/date.format-date.template.xsl
"/>
<xsl:output method="xml" version="1.0" encoding="UTF-8"
cdata-section-elements="NTKProjTitle"
/>
<xsl:param name="today"/>
<xsl:variable name="thisyear">
<xsl:call-template name="date:format-date">
<xsl:with-param name="pattern" select="'yyyy'"/>
<xsl:with-param name="date-time" select="$today"/>
</xsl:call-template>
</xsl:variable>
_______________________________________________
exslt mailing list
[email protected]
http://www.exslt.org/list