[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: number for attributes vs elements
> > In this context I would predict that the number inserted would be the > > position of the attribute relative to all preceding 'match' > > attributes. > > Saxon outputs "1" because there are no attributes on the preceding axis; the > preceding axis will never contain any attribute nodes. Argh, you're right. I not only didn't notice that the preceding axis doesn't contain attributes, but I also didn't notice the explicit exclusion of attributes in the description of the behavior of xsl:number when level="any". Thanks. Regardless, I guess XT's implementation of xsl:number is not quite correct? - Mike ___________________________________________________________ Mike J. Brown, software engineer, Webb Interactive Services XML/XSL stuff: http://www.skew.org/ http://www.webb.net/ XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|