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

RE: xsl:number counting "cousins"

Subject: RE: xsl:number counting "cousins"
From: Gustaf Liljegren <gustafl@xxxxxxxxxx>
Date: Mon, 07 Oct 2002 10:14:15 +0200
RE:  xsl:number counting "cousins"
Michael Kay:

>Doesn't 
>
><xsl:number level="any" from="table"/>
>
>give you what you want?

Thanks a lot. That solved it. The <fo:table-column> elements are now
numbered correctly.

I have another related problem: These numbers is used in the same
attributes in the <fo:table-cell> elements. I don't know how to achieve the
right numbering when cells are spanned horisontally or vertically. In this
example,

+---+---+---+
|   |   |   |
+---+---+---+
|       | X |
+-------+---+

<tr>
  <td/>
  <td/>
  <td/>
</tr>
<tr>
  <td colspan="2"/>
  <td>X</td>
</tr>

X has the column number 3, not 2. And in this example,

+---+---+---+
|   |   |   |
|   +---+---+
|   | X |   |
+---+---+---+

<tr>
  <td rowspan="2"/>
  <td/>
  <td/>
</tr>
<tr>
  <td>X</td>
  <td/>
</tr>

X has column number 2, not 1.

I think I need some advice on how to find out the right column number for
each cell.

Gustaf



 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.