This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [docbook-apps] Displaying /article/articleinfo/date?


There is no parameter that displays the document's date in the HTML header
or footer.  There are several possible dates that could be used, so this
isn't something that is easy to standardize.  But the stylesheets are highly
customizable.  You could add it with a customization of the empty
'user.footer.content' template:

<xsl:template name="user.footer.content">
  <div class="pubdate">
    <xsl:apply-templates select="/book/bookinfo/pubdate"/>
  </div>
</xsl:template>

See this reference for more information:

http://www.sagehill.net/docbookxsl/HTMLHeaders.html

Bob Stayton
Sagehill Enterprises
DocBook Consulting
bobs@sagehill.net


----- Original Message ----- 
From: "John L. Clark" <jlc6@po.cwru.edu>
To: <docbook-apps@lists.oasis-open.org>
Sent: Friday, January 21, 2005 11:09 AM
Subject: [docbook-apps] Displaying /article/articleinfo/date?

Why do the DocBook XSL Stylesheets not display a document's date as part
of the header (for, say, HTML output) by default?  I've looked, but I
cannot seem to find any parameter to control this.  Is there something I
am missing with respect to displaying document dates?

Thanks,

    John L. Clark



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]