[Home] [By Thread] [By Date] [Recent Entries]
Hi again,
Found a solution. I changed this line: <xsl:for-each select="/root/Elements/Elem[@Date=current()][not(preceding-sibling::Elem[@Date=current()]/ElemID=ElemID][not(@Type='1' or @Type='3']"/> <!-- This for-each line gives the problem --> to: <xsl:for-each select="/root/Elements/Elem[@Date=current()][not(preceding-sibling::Elem[@Date=current() and not(@Type='1' or @Type='3')]/ElemID=ElemID][not(@Type='1' or @Type='3']"/> Thus, I have limited the comparing to preceding elements to only those preceding that in themselves are valid. If this is not the way that the grouping of elements, shown in last mail, would normaly be done - or I have overlooked something - I would still be happy to hear of this. Regards, Ragulf Pickaxe :-) _________________________________________________________________ Fe alle de nye og sjove ikoner med MSN Messenger http://www.msn.dk/messenger
|

Cart



