This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Unions and/or temporally related groups
- To: xsl-list at lists dot mulberrytech dot com
- Subject: [xsl] Unions and/or temporally related groups
- From: Tony Click <Tony dot Click at Itron dot com>
- Date: Mon, 16 Jul 2001 09:52:26 -0400
- Reply-To: xsl-list at lists dot mulberrytech dot com
Thanks for the comments and suggestions on how to solve my union problem.
I've found a solution, albeit an ugly one.
To quickly revisit, the problem was how to detect in a time ordered set of
elements whether the subsequent element had nodes that had similar values
(excluding the acutally data value)
<xsl:variable name="nextTimeInterval"
select="following-sibling::timeInterval[1]"/>
count ($nextTimeInterval[@channelId =
$currentTimeInterval/@channelId][@parameterSetId =
$currentTimeInterval/@parameterSetId ]) != count ($currentTimeInterval)
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list