Hi all,

I was trying to get the total page of a document(book) for few days but I 
couldn't have the result.

I want to have something like 1/4, 2/4...Actually, I have got 1, 2 ,..... just 
the page number.

Is there someone who can help me?

My code is as bellow:
.........................
    <fo:block>    
                
              <xsl:choose>
            
                <xsl:when test="$double.sided = 0 and $position ='right'">
                        <fo:page-number/>  
  
                    <xsl:text> of </xsl:text>
                      <fo:flow>    
                        <fo:page-number-citation ref-id="last-page"/>
                    
                            <fo:block id="last-page"/> 
                        <fo:page-number-citation ref-id="last-page"/>
                        </fo:flow>            
                                            
                </xsl:when>    
                                                
                    <xsl:when test="$position ='left'">
                
                </xsl:when>    
                    
Best regards,

Solofo




---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to