xsl-list
[Top] [All Lists]

RE: removing superfluous nodes

2003-06-10 04:56:23
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



<Prev in Thread] Current Thread [Next in Thread>