On Wed, Mar 11, 1998 at 03:58:22PM +0000, Sean Mc Grath wrote:
3. We need to provide a DOM interface (tree based) DOM = Document Object Model - a W3C initiative to develop a language independent read/write interface to HTML/XML documents
I have put a very protypical DOM package at the URL http://www.math.jussieu.fr/~fermigie/python There are some DOM objects (not everyone, for reasons stated in the README file), a builder, a transformer and a lineariser. This is the result of several hours of hacking over a period of more than 3 months, and I won't have the time to improve the result significantly in the near future, that's why I'm releasing it as it is now. Of course, I'm eagerly waiting for comments. (I can justify some of the decisions, for example: why did I use Dan Connoly's parser? Well it was the only one available 9 months ago when I stated hacking XML, and it can also parse a reasonnable subset of HTML, which is good for my legacy Web site). Cheers, S. -- Stéfane Fermigier, MdC à l'Université Paris 7. Tel: 01.44.27.61.01 (Bureau). Mathematician, hacker, bassist. http://www.math.jussieu.fr/~fermigie/ "He who can properly define and divide is to be considered a god." Platon. _______________ DOC-SIG - SIG for the Python Documentation Project send messages to: doc-sig@python.org administrivia to: doc-sig-request@python.org _______________