xsl-list
[Top] [All Lists]

Re: Should be simple?

2003-05-13 03:46:59
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



<Prev in Thread] Current Thread [Next in Thread>
  • Should be simple?, Cross, Neal - Development Controller
    • Re: Should be simple?, Andrew Watt <=