RE: comment() node test

Subject: RE: comment() node test
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Fri, 11 Aug 2000 09:11:01 +0100
> Isn't "preceding-sibling::comment()[1]" what you want? i.e. 
> from among the
> preceding siblings that are comments, the ones (one) for 
> which the context
> position is 1?

I think he wanted the preceding comment only if there wasn't an intervening
element...

Mike Kay


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread