[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: alphabetic counters
On 10 May 2004, at 20:18, Passin, Tom wrote:
You just need to start thinking in terms of taking a set of nodes and operating on them, rather than in terms of spitting out bits and pieces in order. Thanks again to all of you (sorry, went to London for six hours :) I just got back, read your emails and had a think about node trees and such. I'm now doing this: for-each select="star" sort stars for-each select="planet" sort planets if position = 1 <th rowspan="{count(../planet)}"><value-of ../starname></th> /if <td>'s go here /for-each /for-each It works and is better than cdata everywhere, but using ../ still feels like a hack. So for people keeping score, Sablotron now fails to output anything matching on id() but the other three all work. Libxslt sorts differently when matching non-existant nodes and is about 8x faster than Saxon and Xalan, but that's it. Also, Mozilla now displays something, but it's not very good (cannot seemingly handle variables nor id() selectors) I will look at keys tomorrow morning. Must sleep :) Thanks again everyone. On 10 May 2004, at 19:52, Andreas L. Delmelle wrote: Right now, it seems you are only using one template to control the entire All four URIs are valid. After downloading the XML file you will need to change the DTD reference in the doctype so it works on your lan. it was easier for me to just put //astro/ for testing than to reconfigure my machine to search NetInfo before DNS so it would resolve a FQDN to a 192.168 address. :-) - Nick.
|
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
|