This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [docbook-apps] Re: [docbook] Footnote problem


On Tuesday 02 of March 2004 05:11, Jirka Kosek wrote:
> <xsl:template match="footnote">
>    <sup><xsl:number level="any" count="footnote"/></sup>
> </xsl:template>
> 
> And then you must collect and process all footnotes at the end 
of your 
> document:
> 
> <xsl:template match="/">
>    <html>
>      ...
>      <body>
>        <xsl:apply-templates/>
>        <hr/>
>        <xsl:apply-templates select="//footnote" 
mode="process.footnote"/>
>      </body>
>     </html>
> </xsl:template>
> 
> <xsl:template match="footnote" mode="process.footnote">
>    <div class="footnote">
>      <sup><xsl:number level="any" count="footnote"/></sup>
>      <!-- Process content of footnote -->
>      <xsl:appply-templates/>
>    </div>
> </xsl:template>
> 
> Processing model works in very different way then you expect.
> Due to your language ability you can try reading
> 
> http://www.kosek.cz/xml/xslt/zpracovani.html

Thanks and Díky :-)

	Matěj

-- 
Matej Cepl, http://www.ceplovi.cz/matej
GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
If it dies, it's biology.  If it blows up, it's chemistry,
and if it doesn't work, it's physics.
	-- University bathroom graffito

Attachment: pgp00000.pgp
Description: signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]