List Info

Thread: should I use section or sect1, sect2, sect3 etc?




should I use section or sect1, sect2, sect3 etc?
user name
2007-04-13 10:12:43
Using sect[1-5] also makes it easier to customize things.&nbsp; For example, if you want sect2 to have a unique look, you can put a template in your customization layer matching only sect2.&nbsp; If you just use <section> everywhere, it makes it harder to customize particular section levels (you can of course use XPath to select specific nested elements, but it's just not as intuitive as a simple template matching sect2).

Colin

On 4/13/07, Warren Young < warrenetr-usa.com">warrenetr-usa.com> wrote:
Scott Hudson wrote:
>; I usually recommend using nested <section>. It makes it easier to reuse
> content in different contexts if you need to.

That lack of context is also a disadvantage. &nbsp;It means you can't look at
a section of the document and immediately tell where it fits in
logically with the rest of the structure.

---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-unsubscribelists.oasis-open.org"> docbook-unsubscribelists.oasis-open.org
For additional commands, e-mail: docbook-helplists.oasis-open.org">docbook-helplists.oasis-open.org


[1]

about | contact  Other archives ( Real Estate discussion Medical topics )