[xep-support] If not use tables like in HTML, how to build this kind of layout

From: Laurent Frinking / media access <lfr@media-access.net>
Date: Fri May 20 2005 - 07:38:58 PDT

Hello,

It has often been said that it is mostly unnecessary to use tables for layout as has been done in HTML. I can agree with this but I can't find an alternative to build something like this:

...
<object_specs>
 <parent description="Spec1">
  <detail unit="mm" description="Length" value="673"/>
  <detail unit="mm" description="Height" value="467"/>
  <detail unit="mm" description="Width" value="723"/>
  </parent>
 <parent description="Spec2">
  <detail unit="kg" description="Weight" value="343"/>
  <detail unit="kg" description="Gross weight" value="1114"/>
  </parent>
 <parent description="Spec3" >
  <detail unit="Volt" description="Voltage" value="220" />
  <detail unit="mAH" description="Capacity" value="1000" />
  <detail unit="h" description="Time" value="3"/>
 </parent>
</object_specs>
...

It's part of datasheet with pictures and other text blocks.

This part should formatted like this

Spec1 Spec2
-------------------- --------------------
Length: 673 mm Weight: 343 kg
Height: 467 mm Gross weight: 1114 kg
Width: 723 mm

Spec3
--------------------
Voltage: 220 Volt
Capacity: 1000 mAH
Time: 3 h

I tried doing this with <fo:block> and <fo:inline> but I don't see a way to do is. Is this one of the "rare" cases where a table is necessary to create such a layout? If far as I know, <fo:block> is always preceded by a newline making it impossible to simulate a table layout...

Thanks,
Laurent Frinking

media access GmbH
Dornierstr. 17
70469 Stuttgart
Deutschland
Tel: +49 711 490 30 302
Fax: +49 711 490 30 22 302
http://www.media-access.net

-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo@renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html
Received on Fri May 20 10:36:12 2005

This archive was generated by hypermail 2.1.8 : Fri May 20 2005 - 10:36:13 PDT