[xsl] simple matching problem

Subject: [xsl] simple matching problem
From: "Mac Martine" <email@xxxxxxxxxxxxxxxx>
Date: Fri, 28 Mar 2003 14:26:32 -0800
First off, thanks a ton to Michael and Jeni for helping me out lately.

Here's another: This seems to find the element node where @task = 1, but
it doesn't actually write out the value of @task. Why?
It just writes out:
@TASK =

Thanks-
 Mac

<xsl:param name="$nextTask" select="1" />

<xsl:if test="//*[@task=$nextTask]">
	@TASK = <xsl:value-of select="@task" />
</xsl:if>



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


Current Thread