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: RE: apply-templates and excluding a node



> 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@precisiondocuments.com              http://precisiondocuments.com
     "The art and science of document engineering."



 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]