[Home] [By Thread] [By Date] [Recent Entries]

Subject: Re: identity transform exclude pis and comments
From: Mike Brown <mike@xxxxxxxx>
Date: Mon, 23 Jun 2003 07:37:47 -0600 (MDT)
> <xsl:template match="*|@*|text()"/>
>    <xsl:copy><xsl:apply-templates select="@*|node()"/></xsl:copy>
> </xsl:template>
> 
> <xsl:template match="processing-instruction()|comment()"/>

Oops, actually David's solution is better. Just don't select
all children for processing :)

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


Current Thread
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member