Tabular presentation of segmented listsHi Ron,
If it is two columns, you might consider using a variablelist instead. It is 
designed for this purpose.  It will automatically try to adjust the first 
column to fit the data, and it provides a processing instruction for the left 
width in case you need to override it. For more information, see:

http://www.sagehill.net/docbookxsl/Variablelists.html

What's missing is segtitle.  You might have to fake that.  8^)

There is always <table> too, with frame="none" and colsep="0" and rowsep="0".

Bob Stayton
Sagehill Enterprises
DocBook Consulting
[EMAIL PROTECTED]


  ----- Original Message ----- 
  From: Ron Catterall 
  To: [email protected] 
  Sent: Monday, March 19, 2007 12:40 PM
  Subject: [docbook-apps] Tabular presentation of segmented lists


  I use the following XML to display a segmented list in table form.  The first 
column has only very limited length data, the second column a long line of 
text.  When I transform this with XEP 4.9 I get a table OK, but the columns are 
of equal width.


  I need to customize the table to get a narrow first column and the rest of 
the page for the second column.


  How can I do this?


  <segmentedlist><title>A Title for the Segmented list Presented as a 
Table</title>
  <?dbfo list-presentation="table"?>
  <segtitle>Abcd</segtitle><segtitle>Another title for the second 
column</segtitle>
  <seglistitem><seg>1234</seg><seg>A long line of text here, generally will 
need to wrap around onto next line</seg></seglistitem>
  <seglistitem><seg>5678</seg><seg>Another long line of text here, generally 
will need to wrap around onto next line</seg></seglistitem>
  <seglistitem><seg>9012</seg><seg>And yet another long line of text here, 
generally will need to wrap around onto next line</seg></seglistitem>
  </segmentedlist>

  Ron
-- 
Ron Catterall, Phd, DSc                         email: [EMAIL PROTECTED]
  Prolongacion de Hidalgo 140                             http://catterall.net/
  San Felipe del Agua                                        tel: +52 951 520 
1821
  Oaxaca      68020  Mexico                          fax: +1 530 348 8309
  --------------------------------------------------------------------- To 
unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL 
PROTECTED] 

Reply via email to