Re: xsl:fo and tabstops

On Wed, Dec 26, 2001 at 10:20:22PM +0200, Mikko Peltonen wrote:
> 
> Could anyone help me with a problem of formatting tabstops with xsl:fo.
> Consider for example the following XML:
> 
> <paragraph tabstops="2in 4in">
>     <line>key1&#x9;value1&#x9;value2</line>
>     <line>longerkey2&#x9;value3&#x9;value4</line>
> </paragraph>
> 
> How to format this in xsl:fo so that values 1 and 3 and values 2 and 4 would
> line up in same column as expected?

use a table. forget tabstops - they were last a good idea in about 1948,
and should be banished from the world. 

all you have to do is break up the contents of line by tab character,
and put them in table cells. or is that what you are asking, how
to do that?

send the XML back whence it came with a request for better markup....

-- 
Sebastian Rahtz      OUCS Information Manager
13 Banbury Road, Oxford OX2 6NN. Phone +44 1865 283431

Received on Thursday, 13 December 2001 15:35:08 UTC