Re: [xsl] Formatting table information

Subject: Re: [xsl] Formatting table information
From: "Ragulf Pickaxe" <ragulf.pickaxe@xxxxxxxxxxx>
Date: Tue, 06 Dec 2005 11:24:18 +0100
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.
Ragulf Pickaxe :-)

Log pe MSN Messenger direkte fra nettet

Current Thread