W3C home > Mailing lists > Public > www-amaya@w3.org > July to September 1999

Re: Amaya Data Structures Document

From: <Irene.Vatton@inrialpes.fr>
Date: Thu, 23 Sep 1999 10:31:35 +0200
Message-Id: <199909230831.KAA22866@tahiti.inrialpes.fr>
To: "Holliday, Jonathan" <Jon.Holliday@CAI.COM>
cc: www-amaya@w3.org
In-reply-to: Your message of Wed, 22 Sep 1999 10:27:53 -0400."
             <D15571F1B90AD111B49300805FD4A96303E4DF28@usilms01.cai.com> 

> Is there any document that describes the internal data structures represent
> an html page.  In particular the abstract box data structure and how they
> are all connected together and what each element in the structure
> represents.
> 
> Thanks,
> 
> Jon
> 

The document http://www.w3.org/TR/NOTE-amaya-970220.html explains how Amaya
works.

The file Amaya/amaya/HTML.S describes the internal structure of HTML documents.
That files includes a large set of comments.
The file Amaya/amaya/HTMLP.P describes default presentation rules applied to 
each
elements.

You can also compile Amaya with the debug option and dump at any time current
internal structures in clear.
For that you have to set the following line in the file Options:
AMAYA_OPTIONS=-DAMAYA_DEBUG

After that, each time you select Help->AboutAmaya Amaya will generates 3 files:
- tree.debug which dumps the document Abstract Tree
- view.debug which dumps the document Abstract Picture (what presentation 
rules are
  applied to each displayed elements)
- boxes.debug which dumps displayed boxes.

Regards
  Irene.
Received on Thursday, 23 September 1999 04:31:41 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 April 2014 11:01:33 UTC