Re: [xsl] Should be simple?

Subject: Re: [xsl] Should be simple?
From: Andrew Watt <andrew@xxxxxxxxxxxxxx>
Date: Tue, 13 May 2003 11:46:59 +0100
At 11:31 13/05/2003 +0100, you wrote:
<xsl:variable name="area" select="document('codemap.xml','')/map/x[a=$item and b=$code]"/>
<xsl:value-of select="$area/x/d"/>

Neal,


Aren't you trying to find "x" at two levels? And it only exists at one level. There isn't an "x" child node of $area.

Try <xsl:value-of select="$area/d" />

I hope that helps.

Andrew Watt



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


Current Thread