W3C home > Mailing lists > Public > public-html@w3.org > March 2013

Re: Validity constraints on <section>

From: Jirka Kosek <jirka@kosek.cz>
Date: Thu, 21 Mar 2013 22:39:51 +0100
Message-ID: <514B7E27.2060505@kosek.cz>
To: Silvia Pfeiffer <silviapfeiffer1@gmail.com>
CC: Robin Berjon <robin@w3.org>, public-html <public-html@w3.org>, LĂ©onie Watson <tink@tink.co.uk>
On 21.3.2013 22:00, Silvia Pfeiffer wrote:

> I look at it like a book's table of contents. It could have its own section
> or be used before any sections start. In books, the table of contents often
> has its own section and is listed in the table of contents. It would create
> a shadow dom with links to all the sections. In books they would also have
> page number - when printing such a Web page, page numbers could be added,
> but for online viewing they would just be links.

I think that Robin's idea of having just memory structure of outline
which can be then processed in any way is more useful. In my experience
there are too much ways in which ToC can be presented -- with/without
numbers, with/without inline formatting inherited from headers, just
some levels of headers, with more information then just headers (e.g.
also names of authors of each section), ...

If I understand to your proposal correctly shadow DOM for outline will
be constructed in one particular way which will not work for everyone.
Of course, as always there is trade off between complexity and
flexibility of approach used.

				Jirka

-- 
------------------------------------------------------------------
  Jirka Kosek      e-mail: jirka@kosek.cz      http://xmlguru.cz
------------------------------------------------------------------
       Professional XML consulting and training services
  DocBook customization, custom XSLT/XSL-FO document processing
------------------------------------------------------------------
 OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 rep.
------------------------------------------------------------------
    Bringing you XML Prague conference    http://xmlprague.cz
------------------------------------------------------------------


Received on Thursday, 21 March 2013 21:40:18 UTC

This archive was generated by hypermail 2.3.1 : Monday, 29 September 2014 09:39:37 UTC