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

RE: RE: [saxon] OASIS-Open/CALS *big* table conversion

Subject: RE: RE: [saxon] OASIS-Open/CALS *big* table conversion problems
From: "Andrew Welch" <ajwelch@xxxxxxxxxxxxxxx>
Date: Thu, 13 May 2004 15:28:33 +0100
oasis cals
> NW posted some corner cases I sucessfully tested my code 
> against (see below)
> 
> Does your code handle it okay? like to post ? :)

Sadly mine doesn't handle the test case - the cell 'E' basically trips
it up because of the need to generate a cell in column two to ensure 'E'
is in column three... (to be honest in my opinion the table doesn't
*deserve* to rendered correctly because it's duff markup :)

I did post a table normalization stylesheet that may be of interest to
you a while back that's available from Dave P's faq
(http://www.dpawson.co.uk/xsl/sect2/N7450.html#d8897e730) which converts
rowspans and colspans to individual spans.  I would think you could
modify that to generate the 'missing' cells in the test case and then
apply a non-recursive table formatting stylesheet to it as part of a
two-stage transform - it would certainly be faster than 10 minutes ;)

Cheers
andrew

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.