W3C home > Mailing lists > Public > html-tidy@w3.org > January to March 2000

HTML heading hierarchy for XHTML [RE-POST]

From: Marc Rubin, Jay's Island Software Development & Consulting <html-tidy@mail.com>
Date: Mon, 31 Jan 2000 15:59:26 -0500 (EST)
Message-ID: <384653662.949352366594.JavaMail.root@web32.pub01>
To: html-tidy@w3c.org
I'd like to preserve the implicit hierarchy of HTML headings when converting to XHTML. For example, I'd like to end up with this XHTML output:

<h1>Heading 1 text
        <h2>Heading 2 under heading 1</h2>
</h1>

given this HTML input:

<h1>Heading 1 text</h1>
        <h2>Heading 2 under heading 1</h2>

Would this translation be feasible as an option in Tidy?
______________________________________________
FREE Personalized Email at Mail.com
Sign up at http://www.mail.com?sr=mc.mk.mcm.tag001
Received on Monday, 31 January 2000 15:59:27 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 3 April 2012 06:13:43 GMT