|
Subject: Re: [xsl] param weirdness From: "J.Pietschmann" <j3322ptm@xxxxxxxx> Date: Tue, 29 Mar 2005 20:12:31 +0200 |
This *should be* obvious, but sometimes the obvious isn't always to this observer. :)
<xsl:template name="detail">
<xsl:param name="category" />
<xsl:for-each select='/config/option[@class="$category"]'>
^^^^^^^^^^^^^^^^^^
This matches options whose class attribute is the string $category,
rather than the value of the parameter named category.
Use
<xsl:for-each select='/config/option[@class=$category]'>
instead.| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] param weirdness, António Mota | Thread | RE: [xsl] param weirdness, Michael Kay |
| Re: [xsl] param weirdness, António Mota | Date | Re: [xsl] Tricky inclusion match, Jon Gorman |
| Month |