[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
Jelks Cabaniss wrote:
J.Pietschmann
Re: [xsl] param weirdness
Subject: Re: [xsl] param weirdness From: "J.Pietschmann" <j3322ptm@xxxxxxxx> Date: Tue, 29 Mar 2005 20:12:31 +0200 |
Jelks Cabaniss wrote:
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.
J.Pietschmann
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 |