This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: [docbook-apps] Displaying /article/articleinfo/date?
- From: "Bob Stayton" <bobs at sagehill dot net>
- To: "John L. Clark" <jclark at nps dot edu>, <docbook-apps at lists dot oasis-open dot org>
- Date: Fri, 21 Jan 2005 15:58:05 -0800
- Subject: Re: [docbook-apps] Displaying /article/articleinfo/date?
- References: <20050121190933.GB13131@adjohn.cs.nps.navy.mil>
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