Re: [xsl] Whats Wrong with: <xsl:value-of select="//exec[@stepid=$temp_step]/dds/dd[logical/@id=$temp_id]" />

Subject: Re: [xsl] Whats Wrong with: <xsl:value-of select="//exec[@stepid=$temp_step]/dds/dd[logical/@id=$temp_id]" />
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 11 Nov 2004 13:45:56 GMT
> logical/@id='SORTOUT'

that compares id attributes with the string 'SORTOUT'

<xsl:variable name="temp_id" select="SORTOUT" />
That sets temp_id to be the string value of the SORTOUT element child of
the current node, you probably meant
<xsl:variable name="temp_id" select="'SORTOUT'" />

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

Current Thread