xsl-list
[Top] [All Lists]

RE: <xsl:param> or <xsl:variable> question

2003-08-26 07:47:57
On Tue, 26 Aug 2003, Kienle, Steven C [IT/0200] wrote:


This sounds like a simple xsl:if with an xsl:attribute solution:

    <font>
        <xsl:if text="@style = 'on'">

                  ^^^^ i'm assuming you meant "test" here :-)

            <xsl:attribute name="color">red</xsl:attribute>
        </xsl:if>

        <!-- produce text here -->

    </font>

rday


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



<Prev in Thread] Current Thread [Next in Thread>