[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Normalize / Simplify HTML-Tables with row-span / c

Subject: RE: Normalize / Simplify HTML-Tables with row-span / col-span
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Wed, 18 Feb 2004 12:32:53 -0000
advance html tables
>  Is it not possible for the processor to initially use RTFs 
> and then convert to a node-set internally when needed?  
> Excuse my naivety here, but it seems the obvious solution.

It's certainly possible to use a variety of "lazy evaluation" strategies
to ensure that the cost of building a tree is only incurred
incrementally depending on the facilities that you actually use. It's
also possible to use static analysis of the stylesheet to work out what
capabilities are needed in advance. Saxon uses a little bit of both of
these techniques, but there is scope for a lot more. For example, Saxon
statically recognizes many of the cases where the tree will contain only
a single text node, and uses a special data structure for that case. If
I hadn't been so busy implementing new functionality for the last two
years, then it would do a lot more of this kind of optimization by now!

Certainly, I don't think there is any justification for imposing
restrictions on the user-visible language in order to make
implementations faster in this area. It's very rarely good design to do
that.

Michael Kay


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.