Subject: Re: [xsl] Filter by a parameter From: David Carlisle <davidc@xxxxxxxxx> Date: Tue, 24 Oct 2006 13:14:06 +0100 |
> But it doesnt works... Please see the list posting guidelines which suggest showing a small input and the required output. if $supplier_param is set to something that tests as false (such as the empty string) then $test will be set by <xsl:otherwise> * </xsl:otherwise> to be the string of length three consisting of a newline a * and another newline. so Supplier=$testtests that the supplier element in teh original xml consists of a newline a * and a newline. What do you want to test, are you expecting a * at all in the input or do you want a kind of wildcard, in which case you don't need a test at all I suspect you want /Root/Mynode[Complete='true' and ($supplier_param='' or $supplier_param=Supplier)] David
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Filter by a parameter, Vasu Chakkera | Thread | RE: [xsl] Filter by a parameter, Giancarlo Rossi |
RE: [xsl] Filter by a parameter, Vasu Chakkera | Date | Re: [xsl] Function to Extract integ, David Carlisle |
Month |