Hello Joerg,
-----Ursprüngliche Nachricht-----
Betreff: Re: [xsl] copy part of the original document
If you want to omit the whole section having a heading with a
name attribute value of "Entwurf", simply write an *empty* template:
<xsl:template match="section[heading/@name='Entwurf']"/>
Yes, that's all.
J.Pietschmann
Thank you very much; that was it; the empty tag omits the section and a
<xsl:template match="*|@*|text()">
<xsl:copy>
<xsl:apply-templates select="*|@*|text()" />
</xsl:copy>
</xsl:template>
copies the rest.
Now new-years party can start :-))
Stefan
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list