xsl-list
[Top] [All Lists]

Excluding Matches in Template

2003-06-25 14:54:41
Hello,

I have a stylesheet, that as is works perfect.
I am now going to pass into the stylesheet (as a parameter) an xml document
(of simple structure) which will be exclusions for my main template match.
I'm not sure how to "apply templates where not excluded" (in litteral
sense).

Here is my parameter and template match:

<xsl:param name="excludes" select="/"/>

<xsl:template match="/">
 <xsl:apply-templates select="xml/rs:data/z:row"/>
</xsl:template>


excludes will look like this:
<EXCLUDE>
    <ID>34329</ID>
    <ID>36329</ID>
    <ID>35729</ID>
</EXCLUDE>

Thanks for the help!
Karl


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



<Prev in Thread] Current Thread [Next in Thread>