|
Subject: Re: [xsl] Excluding Matches in Template From: "Karl J. Stubsjoen" <karl@xxxxxxxxxxxxx> Date: Thu, 26 Jun 2003 10:05:34 -0700 |
David,
> But if your variable is defined as in the first post you want
> $excludes/EXCLUDE/ID
> not
> $excludes/ID
> as you don't have any ID elements at the top level of the variable.
Here is how I've written my PARAM:
<xsl:param name="excludes" select="EXCLUDE"/>
Is this ok? I'm assuming that this gets me all of the ID elements when I do
the following:
$excludes/ID
Karl
- <EXCLUDE>
<ID>124266</ID>
<ID>681002</ID>
<ID>681144</ID>
<ID>708136</ID>
</EXCLUDE>
> not($excludes/ID=@submitid)
> should work fine.)
Oh - and I thought I tried your suggested match... but trying again right
now.
Not working : (
Here it is exactly:
<xsl:template match="z:row">
<xsl:if test="not($excludes/ID=@submitid)">
<xsl:call-template name="addval"/>
</xsl:if>
</xsl:template>
NOTE: it is matching the first item, just not the remaining ones.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] Excluding Matches in Temp, David Carlisle | Thread | Re: [xsl] Excluding Matches in Temp, Wendell Piez |
| Re: [xsl] number continuation probl, David Carlisle | Date | [xsl] Re: how to create sub-totals , Dimitre Novatchev |
| Month |