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: DOCBOOK-APPS: I want to have content of <date> element in every chunk


Hello, 

I use DocBook + Norman Walsh's XSL stylesheets v1.48 to produce e-
learning HTML courses. Currently I use stylesheet CHUNK.XSL, 
because I need small HTML pages with header and footer. My 
problem is: How can I put into every chunk (into footer) date, 
which I have already defined in <bookinfo> of document? 
Header/footer of chunks are realized by table, so I put here new 
row with code:

<xsl:value-of select=".//date"/> 

But its only put date into first chunk - titlepage.

Date is defined in style TITLEPAGE.XSL:

<xsl:template match="date" mode="titlepage.mode">
  <span class="{name(.)}">
    <xsl:apply-templates mode="titlepage.mode"/>
    <br/>
  </span>
</xsl:template>

I think problem is that there is text 'mode="titlepage.mode"'.

So I'll probably need to create new template which provide 
generating of date in every chunk. 
I tried to create it directly in CHUNK.XSL, but my experiences 
with programming XSL are insufficient, so it does not work.

If somebody know how put into footer of chunks content of element 
<date> defined in <bookinfo> (or content of other elements), 
please help me.

Sorry for my english,
Thanks.

===== www.centrum.cz doporučuje =====
Nový vyhledávač pro český internet www.WebFast.cz - prostě najde ...






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


Powered by eList eXpress LLC