I was looking over some older documentation to get ideas on formatting
for docs I was writing, and something struck me: some of the constant
lists were written using <variablelist> (ref.array), while others were
written using <table> (ref.mysql).

Arguably, <table> is less semantic than <variablelist>, but I tend to
favor the compactness of a table (a single entry takes up one line,
rather than two). I'd like to know if there are any guidelines regarding which to use. For the record, xml_proto.php writes <variablelist> style
constant lists by default.

Also, with a little bit of XSLT hacking, it would probably be possible
to turn <variablelist> into the table form.

Use variablelist

  http://doc.php.net/php/dochowto/chapter-skeletons.php

Regards,
Philip Olson

Reply via email to