This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Why does this work?
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>
- Subject: RE: Why does this work?
- From: Kay Michael <Michael dot Kay at icl dot com>
- Date: Mon, 7 Aug 2000 18:20:08 +0100
- Reply-To: xsl-list at mulberrytech dot com
> 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