From flat structure to a tree

Subject: From flat structure to a tree
From: Jany Quintard <quintard.j@xxxxxx>
Date: Fri, 4 Feb 2000 09:50:46 +0100 (CET)
Hi all
Did someone of you write (or use) a stylesheet to build a tree structure
from a flat structure ?
I have a HTML file with a "flat" <body> :
<html>
  <head> .../... </head>
  <body>
    <h1>...</h1>
    <h2>...</h2>
    <p>...</p>
    ...
  </body>
</html>

and I want to structure it this way :
<html>
  <head> .../... </head>
  <body>
    <div>
      <h1>...</h1>
      <div>
        <h2>...</h2>
        <p>...</p>
    ...
  </body>
</html>

The point is to use the heading tags to start the <div> and </div>
tags.

Any clues ?
------------------------------------------------------
Jany Quintard             | Et les enfants de choeur
IBM Paris Laboratory      | Branlant du chef, opinent
Tel : 33 (0)2 51 16 40 36 |   G. Brassens (La religieuse)



 DSSSList info and archive:  http://www.mulberrytech.com/dsssl/dssslist


Current Thread