RE: [xsl] Filter by a parameter

Subject: RE: [xsl] Filter by a parameter
From: "Vasu Chakkera" <vasucv@xxxxxxxxxxx>
Date: Tue, 24 Oct 2006 12:09:59 +0000
can you explain your problem better please?
Make sure when ever you post a problem, you give..

1. Snip of your XML
2. The output You want to acheive
3. The Code you have done.

It doesnt tell anything as to what is not working for you with your mail

Vasu


From: "Giancarlo Rossi" <giancarlo_rossi@xxxxxxxxxx>
Reply-To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Subject: [xsl] Filter by a parameter
Date: Tue, 24 Oct 2006 13:57:44 +0200

I'm using xslt 1.0

<xsl:param name="supplier_param" />

<xsl:variable name="test">
<xsl:choose>
<xsl:when test="$supplier_param">
<xsl:value-of select="$supplier_param"/>
</xsl:when>
<xsl:otherwise>
*
</xsl:otherwise>
</xsl:choose>
</xsl:variable>


<xsl:for-each select="/Root/Mynode[Complete='true' and Supplier=$test]/price">

</xsl:for-each>

But it doesnt works...


_________________________________________________________________
Windows Live Messenger has arrived. Click here to download it for free! http://imagine-msn.com/messenger/launch80/?locale=en-gb


Current Thread