----- Original Message ----- 
From: "Ross Gardler" <[EMAIL PROTECTED]>
To: <user@forrest.apache.org>
Sent: Sunday, October 23, 2005 8:33 PM
Subject: Re: Conversion of "raw" html stops in mid-file w/o error message


| Moshe Yudkowsky wrote:
| > All,
| >
| > Thanks for the information about how to accomplish this conversion.  My
| > (current) problem is solved: <h2> cannot be followed directly by <h4> in
| > forrest.
| >
| > I do have a comment:
| >
| > * The W3C HTML validator says that <h2> followed by <h4> is valid HTML
| > and valid XHTML. From the W3 spec
| > <http://www.w3.org/TR/REC-html40/struct/global.html#edef-H2> itself,
| > "Some people consider skipping heading levels to be bad practice. They
| > accept H1 H2 H1 while they do not accept H1 H3 H1 since the heading
| > level H2 is skipped." Forrest is going beyond the spec by enforcing this
| > restriction.
|
| Lke we said, if it is a problem to you then feel free to provide a patch
| to the html2document.xsl stylesheet.
|
| We don't use html as an internal format because it lacks some needed
| structure for other processing. Outr internal structure is much closer
| to XHTML2 (in fact we will be moving to a ubset XHTML2 in some future
| release).
|
| In HTML2 headings do not have levels assigned to them, instead you av:
|
| <section>
|   <title>
|     <section>
|       <title>
|
| Ross

And no more <h1>....<h4> , its just <h>

<body>
<h>This is a top level heading</h>
<p>....</p>
<section>
    <p>....</p>
    <h>This is a second-level heading</h>
    <p>....</p>
    <h>This is another second-level heading</h>
    <p>....</p>
</section>

Gav...



-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.361 / Virus Database: 267.12.4/146 - Release Date: 21/10/2005



-- 
This message was scanned for spam and viruses by BitDefender.
For more information please visit http://linux.bitdefender.com/