[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: copy part of the original document
Hello Joerg, > -----Ursprüngliche Nachricht----- > Betreff: Re: 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|