Hi Kamal,
Sorry, what do you mean by modulo 2 or 3? I should have made it clearer, my
tables will look something like this:
This is the first row This is the second column This is the third
colum
and it will wrap the text and it
will wrap the text
around as
well.
....
This has to be done in plain text, unfortunately, is it possible?
Okay, I thought you where just asking how to generate a normal table with
three columns.
If I understand this correctly, you will need to break the text into small
pieces with the column width (which depends on the total width of the page,
number of columns, and space between columns). If I remember correctly, you
already have a solution that can break text into smaller pieces.
What you then need is a nodeset (might be contained in a variable), where
each node contains such a piece of text. To format the page so that you will
have the same amount of text on each line, you will have to divide the
number of text strings (pieces of text) with the number of columns.
Remainders will start on the leftmost column, so that empty columns will be
on the right.
I do not know whether this can be done in but one transformation.
I hope that I have understood your question correctly.
Regards,
Ragulf Pickaxe :-)
_________________________________________________________________
Log på MSN Messenger direkte fra nettet http://webmessenger.msn.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>
--~--