[XSL-LIST Mailing List Archive Home]
[Reply To This Message]
Re: RE: apply-templates and excluding a node
Subject: Re: RE: apply-templates and excluding a node|
From: Jörg Heinicke <joerg.heinicke@xxxxxx>
Date: Thu, 04 Oct 2001 18:17:12 +0200
With 'select="*"' you select all childs, so with 'select="*"' you select
all childs, which fulfill a condition. This condition is on the child-level.
So with 'select="*[not(child::PRFID)]' you select all childs of the current
element, which have not a child named PRFID. But you want the condition with
the child of the current element itself => 'select="*[not(self::PRFID)]"'.
Meltem Kogelbauer wrote:
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
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format