Re: Overview of html2thot.c?

> In html2thot.c the main procedure is called StartParser.
> That function creates the initial document, open the file and launches the
> parser (HTMLparse) which scans each input character. 
> At the first level, it uses the automaton to detect entities, start and end 
> tags.
> At the second level it uses the tables of HTML elements and HTML atributes to
> know what Thot element or attribute type must be generated.
> I guess you have to build your tables there.
> Many other functions are there for correcting HTML errors or for adding 
> specific
> work (see EndOfStartTag, EndOfEndTag).
> 

How are MathML and GraphML dealt with in html2thot.c?  Amaya understands
elements from these languages in the middle of HTML files but I can't find
any much mention of them in html2thot.c.  I'm wondering if the best way to
implement another language is to do it how MathML and GraphML are done.  

Again, any help will be much appreciated.  Thanks.  

-chris

Received on Saturday, 29 January 2000 23:50:46 UTC