xsl-list
[Top] [All Lists]

RE: generate a table with rows and exactly four columns with xsl

2003-09-24 14:53:07
I wrote - 

I mean, you
need some content in them -  you will have to do a test to see if the
data runs out before a row is filled up, and to add them.  


Well, actually, you could sleaze out and do the following to avoid a
test -

<cell><xsl:value-of select='following-sibling::form[1]'/>&#160;</cell>

This always puts a nonbreaking space (#160) into a cell whether or not
it has content.  That may be all you need.

Cheers,

Tom P

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list