RE: date:formate-date - cannot get to work

"Steven Waldren" <[email protected]>
Newsgroups gmane.text.xml.xslt.extensions
Message-ID <[email protected]>
Sorry!  I figured it out.  It was a whitespace issue!

Steven

>From: "Steven Waldren" <[email protected]>
>To: [email protected]
>Subject: [exslt] date:formate-date - cannot get to work
>Date: Mon, 25 Jul 2005 13:17:41 -0500
>
>Hello.  First I want to thank those that have contributed to the EXSLT 
>libs.  It is great work!
>
>I am trying to use the date.format-date.template.xsl as I am writing an 
>XSLT to run on multiple processors.  I tried the following test XSLT 
>fragment, which parses ok, but does not output any result:
>
><xsl:template match="/">
>	Testing date: <br/>
>	<xsl:call-template name="date:format-date">
>		<xsl:with-param name="date-time" select="2005-07-19"/>
>   		<xsl:with-param name="pattern" select="yyMMddHHmmssZ" />
>	</xsl:call-template>
></xsl:template>
>
>Also if I try ....<xsl:with-param name="date-time" 
>select="2005-07-19T02:03:05Z"/>.... I get an "Illegal character in 
>expression" error.
>
>Any help is appreciated,
>
>Steven
>
>System Info:
>  using Stylus Studio
>dowloaded the entire EXSLT lib Jul 2005
>entire XSLT below
>
><?xml version='1.0' encoding='utf-8'?>
><xsl:stylesheet version="1.0" 
>xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:a="urn:astm-org:CCR" 
>exclude-result-prefixes="a">
><xsl:import 
>href="./exslt/date/functions/format-date/date.format-date.template.xsl"/>
><xsl:output method="html"/>
>
><xsl:template match="/">
>	<html><head></head>
>                <body>
>	<xsl:template match="/">
>	Testing date: <br/>
>	<xsl:call-template name="date:format-date">
>   		<xsl:with-param name="date-time" select="2005-06-07T02:04:05Z"/>
>   		<xsl:with-param name="pattern" select="yyMMddHHmmssZ" />
>	</xsl:call-template>
>	</xsl:template>
>	</body>
>	</html>
></xsl:template>
></xsl:stylesheet>
>
>
>_______________________________________________
>exslt mailing list
>[email protected]
>http://www.exslt.org/list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.