On 6/11/05, Brion Vibber <brion(a)pobox.com> wrote:
A side note: XHTML 2.0 will introduce a new
abstraction for headers
based on nested <section>s, each of which can contain a <h>, to
arbitrary depth:
http://www.w3.org/TR/xhtml2/mod-structural.html#sec_8.5.
As long as you're mentioning this, I'll point out that XHTML 1 and
MediaWiki markup don't support the problem pattern currently:
<section>
<h>Upper heading</h>
<p>...</p>
<p>...</p>
<section>
<h>Lower heading</h>
<p>...</p>
<p>...</p>
</section>
<p>...</p>
<p>...</p>
</section>
I don't think it's a particularly common one, so it probably wouldn't
be a big problem if we failed to support it. The model we see now
would basically require tracking the our current heading depth and
adding an appropriate number of </section> tags when we see a new
heading.
Once XHTML 2 is out and reasonably popular, of course.
--
Brent 'Dax' Royal-Gordon <brent(a)brentdax.com>
Perl and Parrot hacker