<section> vs. <sectN>

Marc Fonvieille blackend at FreeBSD.org
Wed Jul 28 23:01:04 UTC 2004


On Wed, Jul 28, 2004 at 09:52:48PM +0100, Ceri Davies wrote:
> 
> Which of these do we prefer?
> 
> 1) <section>
>      <para>foo</para>
>      <section>
>        <para>bar</para>
>      </section>
>    </section>
> 
> 2) <sect1>
>      <para>foo</para>
>      <sect2>
>        <para>bar</para>
>      </sect2>
>    </sect1>
>
[...]

The 2nd one is maybe better when it comes to think about indentation
levels.  And when you are reading a large SGML file it can be useful to
know "where" a section will be rendered, even if the indentation is not
correct you know where you are, with 1st form it may be more difficult.

Marc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-doc/attachments/20040729/b151c83b/attachment.sig>


More information about the freebsd-doc mailing list