Subject: RE: Why does this work?
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Mon, 7 Aug 2000 18:20:08 +0100
|
> Now I'm glad it works, but for some peace of mind I would
> like to know why
> <xsl:when test="customer = preceding::row[position()=1]/customer">
> behaves as it does?
To paraphrase this XPath expression, it tests whether a <customer> child of
the current node (a <row> element) has the same string value as a <customer>
child of the immediately preceding <row> element, in document order.
Mike Kay
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|