This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: outputting nodes with attribute - supressing the rest
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