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

RE: Omnimark vs. XSL (Saxon) Challenge

Subject: RE: Omnimark vs. XSL (Saxon) Challenge
From: "Andrew Welch" <AWelch@xxxxxxxxxxxxxxx>
Date: Tue, 16 Mar 2004 15:56:16 -0000
saxon vs omnimark
> The main problem is the use of colspan and rowspan, which makes it 
> hard for any cell to know to which column it belongs. One has to 
> render the table from start to finish to learn that for each cell.

I put forward a solution to a similar problem a while back:

http://www.biglist.com/lists/xsl-list/archives/200402/msg00447.html

This basically 'normalises' a table to remove the rowspans and colspans.
The technique is to process the table horizontally to remove the
colspans and the vertically to remove the rowspans.

For your problem, I would normalise the table into a variable, copying
through any width values that are for a single cell (that is, a width
value on an <entry> with no colspan specified).  You should then have at
least one definite width value per column.

The processing complexity should be proportional to your input, rather
than exponential (which Im guessing your solution is) so you should
notice a dramatic performance improvement.

Cheers
andrew 

 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.