RE: [xsl] removing superfluous nodes

Subject: RE: [xsl] removing superfluous nodes
From: Jarno.Elovirta@xxxxxxxxx
Date: Tue, 10 Jun 2003 14:56:23 +0300
Hi,

> The PAGE (and the id attributes) nodes are not necessary and 
> I want to 
> remove them so I get the following

  <xsl:template match="PAGE">
    <xsl:apply-templates select="node()"/>
  </xsl:template>
  <xsl:template match="@*|node()">
    <xsl:copy>
      <xsl:apply-templates select="@*|node()"/>
    </xsl:copy>
  </xsl:template>

Cheers,

Jarno - Front Line Assembly: Virus (Counterized Mix)

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


Current Thread