xsl-list
[Top] [All Lists]

Re: First positional grouping -- SOLVED

2003-05-07 10:34:36
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



<Prev in Thread] Current Thread [Next in Thread>
  • Re: First positional grouping -- SOLVED, I-Lin Kuo <=