[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] When first Node add a style in XSL


Subject: Re: [xsl] When first Node add a style in XSL
From: Michael Ludwig <mlu@xxxxxxxxxxxxx>
Date: Fri, 16 May 2008 16:38:28 +0200

Dan Acuff schrieb:
Perfect, thank you.
Too bad I had to create another template but I understand.

If creating another template bothers you, simply insert a test in your existing template:

<xsl:if test="position() = 1">
    <xsl:attribute name="style">border-top: 1px</xsl:attribute>
</xsl:if>

Michael


Current Thread