|
Subject: Re: [xsl] copy part of the original document From: "Stefan Thull" <stefan@xxxxxxxxxx> Date: Tue, 31 Dec 2002 16:08:11 +0100 |
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
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] copy part of the original, Joerg Pietschmann | Thread | [xsl] is this valid <xsl:template m, SLakshman |
| Re: [xsl] Re: How to output open/cl, G. Ken Holman | Date | Re: [xsl] XSL Word concatenate and , Kevin Jones |
| Month |