RE: [xsl] Switching Between Two Column Mode and One Column Mode - Peek Ahead?

Subject: RE: [xsl] Switching Between Two Column Mode and One Column Mode - Peek Ahead?
From: "kent" <kent@xxxxxxxxxxxxxxxxx>
Date: Mon, 23 May 2005 16:26:30 +0100
>this may be hard if the embedded html in the description
prevents breaking

normally the short items have no html, so in most cases that should be okay,
I was going to just bung each in a table within a table.

Eg:
<html>
<table>
<table width="736" border="0">
      <tr>
        <td width="726">Wide - Long Entry</td>
      </tr>
    </table>
    <br>
    <table width="723" border="0">
      <tr>
        <td>Short Left Entry</td>
        <td>Short Right Entry</td>
      </tr>
    </table>
<table>
</html>


I think the only time I would have a problem would be when I had one very
long string.


> Or do you mean you want to pull out all the long entries and set them as
one column and separately set the small entries in two columns.

I think that is pretty close to what I want. However I do not want to pull
them out, because they are sorted by date. Hence if I get short+long I go
ahead and format short in single column.

-----Original Message-----
From: David Carlisle [mailto:davidc@xxxxxxxxx]
Sent: Monday, May 23, 2005 3:08 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: [xsl] Switching Between Two Column Mode and One Column Mode -
Peek Ahead?


  When they are short I would like to format them (in html) into two columns
  and when they are long I leave them in one column.


do you mean you want to switch each item individually between one and
two columns, this may be hard if the embedded html in the description
prevents breaking

or do you mean that if no entry is long, you want to set the whole
thing in two columns (so you don't need to break individual entries)
just typeset a two column layout, and if any entry is long you want to
set the whole thing in one column.

Or do you mean you want to pull out all the long entries and set them as
one column and separately set the small entries in two columns.

In the two-column cases do you want to set it as a two column table
with entries in each cell so entries are aligned at their start
or do you want two free-form columns, eg two divs positioned via cvs so
that there is no alignment bewteen the columns.


David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

Current Thread