xsl-list
[Top] [All Lists]

Re: Collecting sibling nodes under groupings

2006-01-12 07:49:15
Yes, the child nodes of the original Entry that are siblings of the Subject entry in the original -- see my most recent response to Michael Kay. ----- Original Message ----- From: "David Carlisle" <davidc(_at_)nag(_dot_)co(_dot_)uk>
To: <xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com>
Sent: Thursday, January 12, 2006 9:00 AM
Subject: Re: [xsl] Collecting sibling nodes under groupings



More to the point, I want to collect all of the sibling nodes from an
entry
you mean child nodes of the entry here not sibling, something like:


<xsl:for-each-group seelct="entry" group-by="Subject">
<entry>
  <xsl:copy-of select="Subject"/>
  <xsl:copy-of select="current-group()/*[not(self::Subject)]"/>
</entry>
</xsl:for-each>

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>