What's the tag?... (or specific example)
In most cases you can close the tag inside the <if>...
<xsl:if test="foo='ToTheLeft'">
<p>Welcome to the violent playground!</p>
</xsl:if>
<xsl:if test="foo='ToTheRight'">
<p>Guess you don't know about NEP?</p>
</xsl:if>
Xavier Defrang wrote:
> Hello,
>
> I run into the following classical issue :
>
> <xsl:if test="...">
> <tag> <!-- opening tag -->
> </xsl:if>
> ...
> <xsl:if test="...">
> </tag> <!-- corresponding closing tag -->
> </xsl:if>
>
> I know I read a few times ago how to handle this
> case but I can't remember... was it related to
> xsl:text and it's escaping attribute? I don't
> know...
>
> Thanks in advance for your help.
>
> Xavier Defrang
> Perceval R&D Team
> xavier@xxxxxxxxxxxx
>
> -------------------------------------------------
> Perceval Technologies SA/NV Tel: +32-2-6409194
> Rue Tenbosch, 9 Fax: +32-2-6403154
> B-1000 Brussels http://www.perceval.net
> BELGIUM info@xxxxxxxxxxxx
> -------------------------------------------------
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|