From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id BAA31483; Tue, 28 Aug 2001 01:51:08 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id BAA31516 for ; Tue, 28 Aug 2001 01:51:07 +0200 (MET DST) Received: from smtp.nwlink.com (smtp.nwlink.com [209.20.130.57]) by nez-perce.inria.fr (8.11.1/8.10.0) with ESMTP id f7RNp6n07691 for ; Tue, 28 Aug 2001 01:51:06 +0200 (MET DST) Received: from ip178.usw22.rb1.bel.nwlink.com (ip178.usw22.rb1.bel.nwlink.com [207.202.195.178]) by smtp.nwlink.com (8.9.3/8.9.1) with SMTP id QAA29643 for ; Mon, 27 Aug 2001 16:49:20 -0700 (PDT) Received: (qmail 12221 invoked by uid 500); 27 Aug 2001 23:50:57 -0000 Date: Mon, 27 Aug 2001 16:50:57 -0700 From: Michael Leary To: caml Subject: Re: [Caml-list] htmlgen Message-ID: <20010827165057.E11197@jean.nwlink.com> References: <20010826214011.B3112@jean.nwlink.com> <20010827132802.B5903@cs.uu.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010827132802.B5903@cs.uu.nl>; from franka@cs.uu.nl on Mon, Aug 27, 2001 at 01:28:02PM +0200 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Hm, I'm not really fond of the C++ syntax in htmlgen. ocamlhtml looks more like something familiar, i.e. more Perlish. Nice features in both, but what I'm really thinking of is something that would: - parse an XML dtd for HTML version X.XX - provide the usual HTML generating functions for _valid_ tags, attributes - raise an exception when the dtd was violated (compile time type checking?) - provide higher level functions for higher level structures (might get tricky, but something clever enough to work within the dtd ought to be possible, no?) This means I'll probably have to do it myself. :) So, would PXP be the place to start for a dtd parser? Comments, suggestions, warnings, pointers to existing wheels? ------------------- Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr