Next in thread → Next in month →

RE: [docbook-apps] get the total page of a document

From
Mauritz Jeanson <>
Date
2010-04-28T16:13:41+00:00
ID
2F41E414CAA3499F9A047DA5C8675E16@D7MZ171J
Thread
RE: [docbook-apps] get the total page of a document
|  -----Original Message-----
|  From: rabarivelo solofo 
|  
|  I want to have the total page of a document but this message 
|  was shown: "Unresolved id reference "last-page" found." I 
|  couldnt find  the way how to get first the last page. It 
|  would be nice if someone can help me to solve this problem?


Here are some hints: 
http://www.sagehill.net/docbookxsl/PrintHeaders.html#Pagexofy
http://xmlgraphics.apache.org/fop/fo.html#fo-total-pages.


|                         <fo:block id="{$id}">
|                           <xsl:imports-templates/>
                                 ^^^^^^^^^^^^^^^^^  

I have not tried to understand your stylesheet logic, but this can't be
right. I guess that you really mean <xsl:apply-templates/> (or
<xsl:apply-imports/>).

Mauritz
Next in thread → Next in month →