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

Subject: RE: How can I do the xsl file
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Thu, 12 Jul 2001 09:31:47 +0100
> 1.remove element ATTR which ID=11;
> 2.remove item that have no ATTR ID=22.
> 

<xsl:template match="ITEM[ATTR='22']">
  <xsl:copy-of select="@*"/>
  <xsl:apply-templates match="*"/>
</xsl:template>

<xsl:template match="ITEM"/>

<xsl:template match="ATTR[ID='11']"/>

Mike Kay
Software AG

 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