[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: matching question


Subject: RE: matching question
From: Mike Brown <mbrown@xxxxxxxxxxxxx>
Date: Mon, 10 May 1999 10:11:54 -0600

> From: Bruening, Oliver [mailto:oliver.bruening@xxxxxxxxxxx]
> i wrote an xsl-defintion for a given xml-document. i want to 
> match only selected xml-elements, but all xml-elements are in the 
> output. is there a way to filter out unwanted xml-elements ?
> i'm using lotus xsl.

Create an empty template that matches the elements you want to weed out. 

Example:
  This should suppress output for <redheaded> and <stepchild>:

<xsl:template match="redheaded|stepchild">
</xsl:template>


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



Current Thread