W3C home > Mailing lists > Public > public-html@w3.org > January 2011

Re: rationale for inclusion of hgroup in html5?

From: Jirka Kosek <jirka@kosek.cz>
Date: Thu, 27 Jan 2011 11:00:16 +0100
Message-ID: <4D414230.6070002@kosek.cz>
To: Leif Halvard Silli <xn--mlform-iua@xn--mlform-iua.no>
CC: Steve Faulkner <faulkner.steve@gmail.com>, Anne van Kesteren <annevk@opera.com>, HTML WG <public-html@w3.org>
Leif Halvard Silli wrote:

> Does DocBook say that <subtitle/> does not belong in the Table of 
> Content outline?

This is presentational behaviour which is not defined i the DocBook
standard. However usually subtitles are not shown in ToC.

>> it is usually transformed to HTML as:
>> <div class="section">
>>   <div class="titlepage">
>>     <h2 class="title">Foo</h2>
>>     <h3 class="subtitle">Bar</h3>
>>   </div>
>>   ... content of section ...
>> </div>
> If there is something wrong with that transformation, then why isn't 
> that subtitle header transformed to, for example, <p class="subtitle"> 
> rather than <h3 class="subtitle">? 

I'm not sure what's your point here, but to me it seems completely
natural to turn <subtitle> into <hx> as it is still title/heading
although of secondary importance.

> I ask because Anne mentioned W3C TR's, like XML 1.0, which currently it 
> creates this outline:

Well the situation of this document is at least funny as it is being
served as text/html, but containts code like


which is interpreted as


Wonderful isn't it? ;-)
Time to put polyglot serializer into pipeline probably.

> Extensible Markup Language (XML) 1.0
>   W3C Recommendation ...
>   Abstract
>   Status
>   TOC
>     1. Appendices
>       1.1 Intro
>       1.2 Terminology
>     2. Documents
> I cannot say that it would have been a clear benefit if the "W3C 
> Recommendation ..." was concatenated with the top level heading/hidden 
> from outline.

Personally I think that it doesn't make sense to have "W3C
Recommendation", but as the document doesn't use structural elements
like article/section I think it is correct to show "W3C Recommendation"
as child of "Extensible Markup Language (XML) 1.0".


  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 member

Received on Thursday, 27 January 2011 10:01:33 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 29 October 2015 10:16:08 UTC