OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: datetime.format: date works, but time doesn't


In my customization, I have:

<p><xsl:text>Generated on </xsl:text>
	  <xsl:call-template name="datetime.format">  
        <xsl:with-param name="date" select="date:date-time()"/>  
        <xsl:with-param name="format" select="'A, B d, Y'"/>  
      </xsl:call-template>
</p>


Which works great, but I'd like to add the time. Add according to: http://www.sagehill.net/docbookxsl/Datetime.html, all I need to do is add the H, M, S to the string like so:

        <xsl:with-param name="format" select="'A, B d, Y at H:M:S'"/>  

But when I generate my html, the H:M:S is ignored and it prints out like this:
Generated on Tuesday, January 23, 2007 at H:M:S

I'm using 1.69 of the style sheets, and docbook 4.x, and saxon.

Thanks!


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]