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]]


Geoff Purchase wrote:
> 
> 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?

Replace ancestor::releaseinfo[1] with
ancestor::article/articleinfo/releaseinfo[1]

-- 
------------------------------------------------------------------
   Jirka Kosek     e-mail: jirka@kosek.cz     http://www.kosek.cz
------------------------------------------------------------------
   Profesionální školení a poradenství v oblasti technologií XML.
      Podívejte se na náš nově spuštěný web http://DocBook.cz
        Podrobný přehled školení http://xmlguru.cz/skoleni/
------------------------------------------------------------------
   Nejbližší termíny školení: DocBook 5.-7.12. * XSL-FO 19.-20.12.
      XSLT 17.-20.10. * XML schémata (včetně RELAX NG) 7.-9.11.
------------------------------------------------------------------

S/MIME Cryptographic Signature



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