This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: excluding nodes from an xsl template



PS

I said
 <xsl:template match="*[not(self::xsp)]">...

 <xsl:template match="xsp">...

which is the answer to your question, but why can't you do



 <xsl:template match="*">...

 <xsl:template match="xsp">...

the xsp template will have higher priority than the * one so
xsp elements will use that.

David


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]