[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Filter by a parameter

Subject: RE: Filter by a parameter
From: "Vasu Chakkera" <vasucv@xxxxxxxxxxx>
Date: Tue, 24 Oct 2006 12:09:59 +0000
RE:  Filter by a parameter
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:  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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.