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: Saxon Quirk


> .=preceding::pubtag[@list='yes']/@pub
> 
> . is the pub attribute node. The preceding axis from an attribute
> includes its parent so there is always a node in the node set 
> preceding::pubtag[@list='yes']/@pub with string value equal to 
> the string value of . (namely the current node again)
This statement coflicts with Mike Kay's book which shows preceding as NOT
including the parent. It also conflicts with the results as shown py the
other XSLT processors that I mentioned. 

> But looks like neither msxml nor saxon agree with me.
Xalan 1.0.2 almost agreed with you. It only returned the one tag that was
not duplicated.

 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]