RE: [xsl] Numbering cross refs

Subject: RE: [xsl] Numbering cross refs
From: "Norma Yeazell" <Nyeazell@xxxxxxxxx>
Date: Thu, 11 Dec 2003 09:05:16 -0500
So heres what if have now and I get the word Fig. but no numbers at all.
I'm using Antenna House.

<xsl:template match="figure">
  <fo:block id="{@id}" text-align="center" font-style="italic"

<xsl:template match="graphic">
<fo:wrapper keep-together.within-page="always">
    <fo:external-graphic src="{@boardno}"/>
    <fo:block space-after="5mm" id="{generate-id(.)}">
        <xsl:number count="figure" level="any" from="mainfunc" format="1
            <xsl:value-of select="preceding-sibling::title"/>
        <xsl:if test="preceding-sibling::sheet">
            <xsl:text> Sheet
            <xsl:number count="sheet" level="any" from="figure"
format="1 "/>
            <xsl:text> of
            <xsl:value-of select="preceding-sibling::sheet/@total"/>

<xsl:template match="xref">
            <fo:basic-link background-color="lightblue"
                <xsl:text>Fig. </xsl:text>
                <xsl:for-each select="id(@xrefid)">
                    <xsl:number count="figure" level="any"
from="mainfunc" format="1"/>

Confidentiality Notice
The information contained in this e-mail is confidential and intended for use only by the person(s) or organization listed in the address. If you have received this communication in error, please contact the sender at O'Neil & Associates, Inc., immediately. Any copying, dissemination, or distribution of this communication, other than by the intended recipient, is strictly prohibited.

 XSL-List info and archive:

Current Thread