Re: [xsl] identity transform exclude pis and comments

Subject: Re: [xsl] 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