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] | [Elist Home]


Subject: Re: DOCBOOK-APPS: access revnumber for footer


On Wed, Feb 06, 2002 at 05:16:34PM -0600, Matthew Braun wrote:
> 
> Tammy Fox <tfox@redhat.com> writes:
> 
> >How do I access the value of the revnumber to
> >add in a header or footer?
> 
> For the revision of an article, I used:
> 
>  <xsl:value-of select="//revhistory/revision[last()]/revnumber"/>
> 
> This assumes that revhistory contains a list of revisions, ordered from
> earliest date to latest date, and that the current version of the document
> is the last entry in this list.  If it's the other way around, (rev history
> lists most-recent to earliest, and the doc is the first entry in the
> revhistory list) then I think you could just substitute first() for last()
> in the above expression.
> 

Thanks. Unfortunately, I forgot to mention that I am using DSSSL.


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


Powered by eList eXpress LLC