Subject: RE: loop elements based on attribute
From: "Kjellaug Johansen" <kjellaug.johansen@xxxxx>
Date: Mon, 18 Aug 2008 10:05:49 +0200
|
Thanks, Martin. Your guessing was right! It works just fine! Thanks a
lot!
Kjellaug.
--------------------------------
Martin Honnen wrote:
Well you only process the following siblings above. So perhaps you want
<xsl:for-each-group
select=". | following-sibling::Pkt
[preceding-sibling::*[1][self::Pkt]][generate-
id(preceding-sibling::Pkt[not(preceding-
sibling::*[1][self::Pkt])][1])= generate-
id(current())]" group-starting-with="Pkt[not(@type =
'uavs')]">
That is just a guess however.
|