This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: How can I do the xsl file
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] How can I do the xsl file
- From: "Michael Kay" <mhkay at iclway dot co dot uk>
- Date: Thu, 12 Jul 2001 09:31:47 +0100
- Reply-To: xsl-list at lists dot mulberrytech dot com
> 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