Re: [xsl] RE: apply-templates and excluding a node

Subject: Re: [xsl] RE: apply-templates and excluding a node
From: "Paul Tyson" <paul@xxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 4 Oct 2001 09:11:16 -0700
> I found the solution already
>
> it is <xsl:apply-templates select="*[not(self::PRFID)]" />
>
> What I do not undestand is why "self" why not "child"? Can anyone explain
> this?

The predicate is applied to each member of the selected axis, in this case
the child axis (*).  See http://www.w3.org/TR/xpath#predicates.

Paul Tyson, Principal Consultant                   Precision Documents
paul@xxxxxxxxxxxxxxxxxxxxxx              http://precisiondocuments.com
     "The art and science of document engineering."



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


Current Thread