Re: [xsl] Table formatting challenge

Subject: Re: [xsl] Table formatting challenge
From: Norman Walsh <ndw@xxxxxxxxxx>
Date: 16 Jul 2001 08:10:56 -0400
/ David Carlisle <davidc@xxxxxxxxx> was heard to say:
| Actually Norm contacted me off the list over the weekend,  I'm not
| totally familiar with the American idiom, but I think it translated as
| a comment that my code, whilst technically correct, was not as general
| as perhaps required.

Yeah, that's one translation :-)

| So here's a second version that isn't as elegant as the first but is
| more general (although as written it only copes with row spans in single
| figures)

By "single figures", do you mean row spans less than 10 or something

Anyway, this code doesn't quite seem to work. In particular, for

<tgroup cols="4">
<colspec colname="c4b" colnum="4"/>
  <entry morerows="2">C</entry>
  <entry morerows="2">D</entry>
  <entry morerows="2">E</entry>
  <entry namest="c4b">I</entry>

It produces too-many extra cells:

<table border="1">
      <td rowspan="3">C</td>
      <td rowspan="3">D</td>
      <td rowspan="3">E</td>
      <td class="auto-generated">extra</td>
      <td class="auto-generated">extra</td>
      <td class="auto-generated">extra</td>
      <td class="auto-generated">extra</td>
      <td class="auto-generated">.</td>

                                        Be seeing you,

Norman.Walsh@xxxxxxx   | Waste no more time arguing what a good man
XML Standards Engineer | should be. Be one.--Marcus Aurelius
Technology Dev. Group  | 
Sun Microsystems, Inc. | 

 XSL-List info and archive:

Current Thread