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: Re: [docbook-apps] datetime.format: date works, but time doesn't


I had this problem with (I think) docbook 4.2 or 4.3 and 1.69,

<?dbtimestamp format="A, d B, Y at H:M:S"?>

failed to print out the time

when I replaced 'at' by '@', i.e.

<?dbtimestamp format="A, d B, Y @ H:M:S"?>

all was OK.

BUT:   docbook 4.4 with 1.69 works OK for me with 'at' in place.

Ron

>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!
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
>For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org


-- 
Ron Catterall, Phd, DSc			       	email: ron@catterall.net
Prolongacion de Hidalgo 140				http://catterall.net/
San Felipe del Agua					tel: +52 951 520 1821
Oaxaca      68020	Mexico				fax: +1 530 348 8309


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