Re: [xsl] First positional grouping -- SOLVED

Subject: Re: [xsl] First positional grouping -- SOLVED
From: "I-Lin Kuo" <ikuoikuo@xxxxxxxxxxx>
Date: Wed, 07 May 2003 17:34:36 +0000
Never mind. I figured it out for myself:

<xsl:for-each select="following-sibling::var[
 count(preceding-sibling::var[@VGID][1] | current()) = 1]">
<xsl:copy-of select="."/>

should be changed to

<xsl:for-each select="following-sibling::var[not(@VGID)][
 count(preceding-sibling::var[@VGID][1] | current()) = 1]">
<xsl:copy-of select="."/>


I-Lin Kuo, Ann Arbor, MI Macromedia Certified ColdFusion 5.0 Advanced Developer Sun Certified Java 2 Programmer Ann Arbor Java Users Group (http://www.aajug.org)

----Original Message Follows----
From: "I-Lin Kuo" <ikuoikuo@xxxxxxxxxxx>
Reply-To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx


This is my first attempt at positional grouping and I'm almost there. I'd like to transform

_________________________________________________________________
MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus



XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list



Current Thread