[xsl] Fixed that xsl:choose issue.

Subject: [xsl] Fixed that xsl:choose issue.
From: Ben Trafford <ben@xxxxxxxxxxxxx>
Date: Mon, 05 May 2003 22:14:19 -0400

I fixed the previous problem I was having, like so:

<xsl:template match="entry.link">

			<xsl:when test="not(preceding-sibling::entry.link)"> <!--   -->
				SEE ALSO: <i><a href="#{@to.entry}"><xsl:apply-templates/></a>; </i>

<xsl:when test="preceding-sibling::entry.link and not(following-sibling::entry.link)">
<i><a href="#{@to.entry}"><xsl:apply-templates/></a>. </i>

				<i><a href="#{@to.entry}"><xsl:apply-templates/></a>; </i>

Just thought y'all might be interested. Thanks for the help!


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

Current Thread