Never mind. I figured it out for myself:
<xsl:for-each select="following-sibling::var[
count(preceding-sibling::var[(_at_)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[(_at_)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(_at_)hotmail(_dot_)com>
Reply-To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
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