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.
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...
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Filter by a parameter, George Cristian Bina | Thread | Re: [xsl] Filter by a parameter, David Carlisle |
Re: [xsl] Filter by a parameter, George Cristian Bina | Date | Re: [xsl] Filter by a parameter, David Carlisle |
Month |