Just put border on table and you will see what hapen with A22
Steve wrote:
Hmm... sorry to be daft but could you point out the difference between
expected output and actual output?
-Steve
On 8/14/06, KrasiG <krasig(_at_)gmail(_dot_)com> wrote:
<table>
<row>
<cell>All</cell>
<cell></cell>
<cell></cell>
</row>
<row>
<cell>A</cell>
<cell>All</cell>
<cell></cell>
</row>
<row>
<cell></cell>
<cell>A1</cell>
<cell>All</cell>
</row>
<row>
<cell></cell>
<cell></cell>
<cell>A11</cell>
</row>
<row>
<cell></cell>
<cell></cell>
<cell>A12</cell>
</row>
<row>
<cell></cell>
<cell>A2</cell>
<cell>All</cell>
</row>
<row>
<cell></cell>
<cell></cell>
<cell>A21</cell>
</row>
<row>
<cell></cell>
<cell></cell>
<cell>A22</cell>
</row>
<row>
<cell>B</cell>
<cell>All</cell>
<cell></cell>
</row>
<row>
<cell></cell>
<cell>B1</cell>
<cell>All</cell>
</row>
<row>
<cell></cell>
<cell></cell>
<cell>B11</cell>
</row>
<row>
<cell></cell>
<cell></cell>
<cell>B12</cell>
</row>
<row>
<cell></cell>
<cell>B2</cell>
<cell>All</cell>
</row>
<row>
<cell></cell>
<cell></cell>
<cell>B21</cell>
</row>
<row>
<cell></cell>
<cell></cell>
<cell>B22</cell>
</row>
</table>
* now i get :*
<table>
<tr>
<td colspan="3">All</td>
</tr>
<tr>
<td rowspan="7">A</td>
<td colspan="2">All</td>
</tr>
<tr>
<td rowspan="3">A1</td>
<td>All</td>
</tr>
<tr>
<td>A11</td>
</tr>
<tr>
<td>A12</td>
</tr>
<tr>
<td rowspan="3">A2</td>
<td>All</td>
</tr>
<tr>
<td>A21</td>
</tr>
<tr>
<td rowspan="2">A22</td>
</tr>
<tr>
<td rowspan="7">B</td>
<td colspan="2">All</td>
</tr>
<tr>
<td rowspan="3">B1</td>
<td>All</td>
</tr>
<tr>
<td>B11</td>
</tr>
<tr>
<td>B12</td>
</tr>
<tr>
<td rowspan="3">B1</td>
<td>All</td>
</tr>
<tr>
<td>B21</td>
</tr>
<tr>
<td rowspan="2">B22</td>
</tr>
</table>
*but must be:
<*table>
<tr>
<td colspan="3">All</td>
</tr>
<tr>
<td rowspan="7">A</td>
<td colspan="2">All</td>
</tr>
<tr>
<td rowspan="3">A1</td>
<td>All</td>
</tr>
<tr>
<td>A11</td>
</tr>
<tr>
<td>A12</td>
</tr>
<tr>
<td rowspan="3">A2</td>
<td>All</td>
</tr>
<tr>
<td>A21</td>
</tr>
<tr>
<td>A22</td>
</tr>
<tr>
<td rowspan="7">B</td>
<td colspan="2">All</td>
</tr>
<tr>
<td rowspan="3">B1</td>
<td>All</td>
</tr>
<tr>
<td>B11</td>
</tr>
<tr>
<td>B12</td>
</tr>
<tr>
<td rowspan="3">B1</td>
<td>All</td>
</tr>
<tr>
<td>B21</td>
</tr>
<tr>
<td rowspan="2">B22</td>
</tr>
</table>*
*
Steve wrote:
> Could you please give us sample XML and desired output?
>
> -Steve
>
> On 8/14/06, KrasiG <krasig(_at_)gmail(_dot_)com> wrote:
>> Hi GURUs,
>> I'm new in XML/XSL transformation and pleas some little help.
>>
>> In my case i must convert empty cell in table to colsap/rewspan and i
>> found this:
>> http://www.stylusstudio.com/xsllist/200404/post30380.html
>> but i have some situation when must cancel span in some cell (my
bi add
>> some attribute)
>> Can you give me some decision.
>>
>> Thanks and please excuse me for bad language
>>
>> --~------------------------------------------------------------------
>> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
>> To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
>> or e-mail:
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
>> --~--
>>
>>
>
> --~------------------------------------------------------------------
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
> To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
> or e-mail:
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
> --~--
>
>
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--