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

Re: CALS to XHTML table - rowspan

Subject: Re: CALS to XHTML table - rowspan
From: "Eliot Kimber ekimber@xxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 5 Oct 2015 18:06:19 -0000
Re:  CALS to XHTML table - rowspan
I have to solve a similar problem in going from CALS tables to InDesign

To solve it I generate an intermediate view of the table with all cells
made explicit. I then use that to generate the correct InDesign table

The code is part of the DITA for Publishers DITA-to-InDesign framework,
which you can find here:


The table processing code is:


The mode "make matrix table" is the mode that generates the matrix view of
the CALS table. You might find that useful for your task.


Eliot Kimber, Owner
Contrext, LLC

On 10/5/15, 10:39 AM, "a kusa akusa8@xxxxxxxxx"
<xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote:

>It has been a while since I worked on XSLT. But I have a current issue
>that I need to solve with xslt.
>I have a CALS table that has @morerows. I have to generate a table
>that does not have a rowspan attribute, and generate cells according
>to the value of @morerows.
>So, my input XML looks like this:
><row><entry morerows="2">test 1</entry>
><entry morerows="1">test 2</entry>
><entry morerows="0">test 3</entry>
><row><entry morerows="0">test 4</entry>
><entry morerows="1">test 5</entry>
><entry morerows="0">test 6</entry>
>How do I generate rows/cells based on morerows in xslt?
>Any tips is appreciated.

Current Thread


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.
First Name
Last Name
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.