This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Why does this work?


> 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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]