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: comment() node test


> 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

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