xsl-list
[Top] [All Lists]

[xsl] XSLT-RTF Hide Element

2006-08-14 06:12:29
Hello,

Could someone show me the markup to hide an anchor element in RTF
output?

The HTML markup seems to work for PDF, but RTF is different.

Here's the code:

<xsl:template match="n1:a">
        <xsl:param name="tablewidth" select="11088" />
        <xsl:param name="globaltablelevel" select="0" />
        <xsl:for-each select="@id">
            <xsl:text>\pard</xsl:text>
            <xsl:if test="$globaltablelevel + 0 = 1">
                <xsl:text>\intbl</xsl:text>
            </xsl:if>
            <xsl:if test="$globaltablelevel + 0 > 1">
                <xsl:text>\itap</xsl:text>
                <xsl:value-of select="$globaltablelevel + 0" />
            </xsl:if>
            <xsl:text>{</xsl:text>
            <xsl:call-template name="write-text">
                <xsl:with-param name="text">
                    <xsl:value-of select="." />
                </xsl:with-param>
            </xsl:call-template>
            <xsl:text>}</xsl:text>
        </xsl:for-each>
    </xsl:template>

Thanks!

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>
  • [xsl] XSLT-RTF Hide Element, McDonald, Shaun <=