|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: XSL Optimizations
* Lars Marius Garshol | | An idea that has been floating around in my head is to have a hash | table that maps element type names to a list of templates that may | match elements of the given type. * Kay Michael | | SAXON determines for each pattern whether it is able to match only | elements of a particular type; it then maintains one list of | "specific" patterns for each element type, and one list of "generic" | patterns. This is almost what I had in mind, although not quite. In my head, the select patterns (1) para (2) para|blockquote|programlisting (3) listitem/para would make the 'specific' table look like this: para -> 1,2,3 (already sorted in the right order, whatever that is) blockquote -> 2 programlisting -> 2 This should shorten the 'generic' list a bit, although at some cost during stylesheet parsing. It might help a little, though. --Lars M. 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
|

Cart








