[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[xsl] Filtering problems

Subject: [xsl] Filtering problems
From: Fredrik Asperud <fredrik.asperud@xxxxxxxxx>
Date: Thu, 22 Jan 2004 22:33:06 +0100

I'm doing some filtering by passing a parameter into the xsl via the URL.

<xsl:for-each select="ar/isr[omr=$filter]">
It works fine except when I'm trying to use a wildcard by passing * into "filter" which results in no hits.

If I do like this <xsl:for-each select="ar/isr[omr=*]"> the * works like wildcard and everthing gets listed without filtering.

Is it possible to pass a wildcard with the parameter or can I solve this in some other way?


XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list

Current Thread