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] Autogenerated date meta?

Dennis Grace wrote:

> Does anyone know a customization that will modify my user.head.content to
> autogenerate the date of the transform in the HTML <meta> tags?

Add following code into your customized template user.head.content:

<meta name="date">
   <xsl:attribute name="content">
     <xsl:call-template name="datetime.format">
       <xsl:with-param name="date" select="date:date-time()"/>
       <xsl:with-param name="format" select="m/d/Y"/>

Don't forget to declare date namespace as


   Jirka Kosek  	
   e-mail: jirka@kosek.cz

S/MIME Cryptographic Signature

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