I am including a template for cross-references in my stylesheet. The template 
has the intended result with one exception: it inserts a space when the text 
following the cross-reference is a period.

Here is what the output looks like:
     "For more information, see Getting Started on page 2 ."

I want the output to be
     "For more information, see Getting Started on page 2."

Any ideas on how to fix this would be appreciated.


************************************************
SOURCE FO

<xsl:template match="a">
        <xsl:element name="fo:inline">

            <xsl:element name="fo:basic-link">
                <xsl:attribute name="internal-destination">
                    <xsl:value-of select="@idref" />                
                </xsl:attribute>                
                
                <xsl:value-of select="document(@idref)/cnt-elm/title"/>
                
                <xsl:text>
                    on page 
                </xsl:text>

                <xsl:element name="fo:page-number-citation">
                    <xsl:attribute name="ref-id">
                        <xsl:value-of select="@idref" />    
                    </xsl:attribute>    
                </xsl:element>

            </xsl:element>

        </xsl:element>
    </xsl:template> 



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to