Janice, Barton,

As requested, add this fix to the linkend test in the inline.xsl, as follows:

        <xsl:when test="$linkend">
         <xsl:variable name="targets" select="key('id',$linkend)"/>
                <xsl:variable name="target" select="$targets[1]"/>

                <xsl:call-template name="check.id.unique">
                 <xsl:with-param name="linkend" select="$linkend"/>
                </xsl:call-template>

          <a>
                <xsl:apply-templates select="." mode="common.html.attributes"/>
                <xsl:call-template name="id.attribute"/>
                 <xsl:attribute name="href">
                <xsl:call-template name="href.target">
                  <xsl:with-param name="object" select="$target"/>
                 </xsl:call-template>
                </xsl:attribute>

        <!--Add this fix to override JQuery-->
        <xsl:attribute name="onclick">
        <xsl:text>document.location='</xsl:text>
        <xsl:call-template name="href.target">
        <xsl:with-param name="object" select="$target"/>
        </xsl:call-template>
        <xsl:text>';return false;</xsl:text>
        </xsl:attribute>


        <xsl:apply-templates select="$target" mode="html.title.attribute"/>
        <xsl:copy-of select="$content"/>
        
        </a>
        </xsl:when>

Regards

Nick

Reply via email to