Re: [xsl] outputting nodes with attribute - supressing the rest

Subject: Re: [xsl] outputting nodes with attribute - supressing the rest
From: Eric Smith <Eric.Smith@xxxxxxxxxxxx>
Date: Wed, 10 Oct 2001 20:19:25 +0200
According to Jörg Heinicke on Wed, Oct 10, 2001 at 07:57:40PM +0200:
| What are you doing at the moment in your XSLT?
| 
various failed things like
<xsl:template match="section[@render != 'full']"/>

And other contortions.

| <xsl:template match="section[@render]">
|     <!-- transform it to XSL-FO -->
| </xsl:template>
| 
| <xsl:template match="section[not(@render)]"/>
| <!-- this means do nothing with it -->
| 
geronimo!

Is it possible to suppress *all* nodes that do not have the @render
in a single template - 
<xsl:template match="*[not(@render)]"/>
matches everything :(

thanx

-- 
Eric Smith - See mail headers for processors used

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


Current Thread