Subject: Re: [xsl] Transforming Tables - repost From: Jeff Sese <jsese@xxxxxxxxxxxx> Date: Tue, 16 May 2006 17:56:44 +0800 |
me> sum(preceding-sibling::cell[1]/(@col,@rowspan)) +1but if i use this in this input:
sorry, a missing rowspan should count as 1 not 0 so make that sum(preceding-sibling::cell[1]/(@col,max((1,@rowspan)))
and select="sum(preceding-sibling::cell[1]/(@col,max((1,@rowspan))) +1 to @col"
<row> <cell col="1" rowspan="3">Data</cell> <cell col="2">Data</cell> <cell col="3">Data</cell> <cell col="4">Data</cell> <cell col="5">Data</cell> </row> <row> <cell col="2" rowspan="2">Data</cell> <cell col="3">Data</cell> <cell col="4">Data</cell> <cell col="5">Data</cell> </row> <row> <cell col="3">Data</cell> <cell col="4">Data</cell> <cell col="5">Data</cell> </row>
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Transforming Tables - rep, David Carlisle | Thread | Re: [xsl] Transforming Tables - rep, David Carlisle |
[xsl] Wrapping a Condition around a, Kevin Bird | Date | RE: [xsl] Wrapping a Condition arou, Michael Kay |
Month |