From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: * X-Spam-Status: No, score=1.4 required=5.0 tests=SPF_NEUTRAL autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by yquem.inria.fr (Postfix) with ESMTP id A2C2CBC6C for ; Wed, 30 Jan 2008 18:25:54 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ah4FAHdCoEdIDszoh2dsb2JhbACCNo1xAQEBCAQECQoRlzuIHA X-IronPort-AV: E=Sophos;i="4.25,278,1199660400"; d="scan'208";a="21987697" Received: from qb-out-0506.google.com ([72.14.204.232]) by mail4-smtp-sop.national.inria.fr with ESMTP; 30 Jan 2008 18:25:38 +0100 Received: by qb-out-0506.google.com with SMTP id e11so342995qbe.15 for ; Wed, 30 Jan 2008 09:25:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=PCcyvv0vTbcu4LPRhyOLg7XUfVTAozitoPd31w5V3Kk=; b=BFkUzgFjiNhcafkkoeqhUJkUBitMLcgBdFoq3G3gSMsJulspvYLZOEmtv8OiiXej5asc4NxtmzbI7WXJRzl8m2CiCh5SSry+Z2jINnwOSMx37D1Danq+8akQ+XVzt2i5NIQGY4sFhyebr1a1N6z1+FqKMhoqfXoVhiRKlxOOT7o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=t1fIJb9XqJPejR4f3DO/vk238Pu8GA3fHqGI3CSfc+NA/F/8a1pkbjtM64ET0XJGsAi17rdvq9XyxXdlrps2zPmPCwQapmD1qWN+G8MguIHipLjVs6gW/W8vL2DdrlXzgU3YiRtcALDZP5jDj9jgBCsKn6QI1hKVacdYQzjrSFo= Received: by 10.142.178.13 with SMTP id a13mr495140wff.129.1201713935011; Wed, 30 Jan 2008 09:25:35 -0800 (PST) Received: by 10.142.112.7 with HTTP; Wed, 30 Jan 2008 09:25:34 -0800 (PST) Message-ID: Date: Wed, 30 Jan 2008 12:25:34 -0500 From: "Jim Miller" To: caml-list@yquem.inria.fr Subject: Re: [Caml-list] [OSR] Suggested topic - XML processing API In-Reply-To: <200801301035.31447.jon@ffconsultancy.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <52FAAA41-5B70-4F87-9F83-B8A96EA48D34@erratique.ch> <200801301035.31447.jon@ffconsultancy.com> X-Spam: no; 0.00; wiki:01 node:01 node:01 beginner's:01 ocaml:01 bug:01 frog:98 beginners:01 wrote:01 wrote:01 caml-list:01 caml-list:01 minor:01 bin:01 caml:02 Thanks for the comments. I will start looking at all of the suggestions tonight and make a second draft of the document that I'll hope to have by tomorrow evening (I want to make sure that I research the existing APIs as suggested). At that point I'll make a page on the Wiki where the document can evolve. On Jan 30, 2008 5:35 AM, Jon Harrop wrote: > On Wednesday 30 January 2008 03:26:00 Jim Miller wrote: > > type xmlNode = > > > > | XmlElement of (namespace: string * tagName: string * attributes: > > > > (string * string) list * (children:xmlNode list) ) > > > > | XmlPCData of (text:string) > > Just a minor quibble but might I suggest removing the redundant Xml/xml from > all of the identifiers: > > type element = > { namespace: string; > tagName: string; > attributes: (string * string) list; > children: node list } > > and node = > | Element of element > | Text of string;; > > -- > Dr Jon D Harrop, Flying Frog Consultancy Ltd. > http://www.ffconsultancy.com/products/?e > > > _______________________________________________ > Caml-list mailing list. Subscription management: > http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list > Archives: http://caml.inria.fr > Beginner's list: http://groups.yahoo.com/group/ocaml_beginners > Bug reports: http://caml.inria.fr/bin/caml-bugs >