xsl-list
[Top] [All Lists]

selection of all children except one

2004-10-03 11:23:35
Hallo,

I tried:
<xsl:for-each select="child::*[not(bad)]">
But the bad child is included in the result. 
Does anybody know, how can I exclude this child? 
I don't want to use the function position(), 
because the elements can have got a random order.

<myelements>
  <good>first</good>
  <better>second</better>
  <best>third</best>
  <bad>...</bad>
 </myelements>

Thanks, Katrin.


<Prev in Thread] Current Thread [Next in Thread>