xsl-list
[Top] [All Lists]

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

2008-05-16 07:38:59
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

--~------------------------------------------------------------------
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>