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] Docbook, Subversion, and keyword substitution]]


=======================================
From: Claus Rasmussen <claus@webclaus.com>

If your source is in multiple files, you should put a keyword in each of
those. Let's say you put it in article/articleinfo/releaseinfo, you could
add the keyword "closest" to the output document by adding something like
this to your customization layer:

<xsl:template name="user.footer.navigation">
  <p class="revisiondate">
    <xsl:value-of select="ancestor::releaseinfo[1]"/>
  </p>
</xsl:template>

Regards,
Claus

References:
http://www.docbook.org/tdg/en/html/releaseinfo.html
http://www.sagehill.net/docbookxsl/HtmlCustomEx.html#HTMLHeaders

=======================================

Thanks for the pointers.  I figure I must be doing something wrong 
because I can get Bob's example to work with <xsl:value-of 
select="//releaseinfo[1]"/> and that inserts the information from 
book/bookinfo into the footer of every page, but when I use 
ancestor::releaseinfo[1] I have no success.

My customisation layer includes the template above.

My articles have this:::
<article id="background">
   <title>Helpful Background Information</title>
   <articleinfo>
     <releaseinfo>$Id: background.xml 555 2005-10-11 23:33:16Z gmp0 
$</releaseinfo>
   </articleinfo>


I have tried running 1.68.1 and 1.69.1 stylesheets with no success.

Any suggestions?

Cheers,

Geoff




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