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=2.1 required=5.0 tests=AWL,DNS_FROM_RFC_POST, 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 mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by yquem.inria.fr (Postfix) with ESMTP id 662B6BB84 for ; Sun, 23 Nov 2008 18:29:38 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AhACAG8hKUnAXQIngWdsb2JhbACTHj4BARYirj6BAol/AQMBA4J5 X-IronPort-AV: E=Sophos;i="4.33,654,1220220000"; d="scan'208";a="20277801" Received: from concorde.inria.fr ([192.93.2.39]) by mail1-smtp-roc.national.inria.fr with ESMTP; 23 Nov 2008 18:29:38 +0100 Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by concorde.inria.fr (8.13.6/8.13.6) with ESMTP id mANHTbjV008754 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=OK) for ; Sun, 23 Nov 2008 18:29:38 +0100 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: As8AAG8hKUlIDtydimdsb2JhbACTHj4BAQEKCQwHDwWuO4ECiX8BAwEDgnk X-IronPort-AV: E=Sophos;i="4.33,654,1220220000"; d="scan'208";a="31739691" Received: from fg-out-1718.google.com ([72.14.220.157]) by mail4-smtp-sop.national.inria.fr with ESMTP; 23 Nov 2008 18:29:37 +0100 Received: by fg-out-1718.google.com with SMTP id e21so1367532fga.25 for ; Sun, 23 Nov 2008 09:29:36 -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:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=QN2AEIFYPTyNR+sTf1fxFHwSnxES5L/REK601hKRsu8=; b=sqDhuJFu6XYxOpckjUDrhf+3GAQPudrVodUmE9IZBmKiZkydfiBfxPBAPnI80jIUD6 axVvitNeG1kVcDSUqODDsUyanrQEcyaU87nvvu8OqeRj8c9g+TT9qDR8yyjYWRoQPx7Z 8vTFMIvyyS0cgZic5nvZ710jpSmnOgpff28g8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=tDBqpNoIF8bDrZW+caTlpYOuctxH0uxkKtrD3qtQUak16IUBfwXnr7ZozdWCEDIc18 JItNAqjVE0D81E3KlUkFH6Xd2REWUI9smV4L03REDiTn4zIcXb/NV7ejhZQySExsJ3H3 6yB+YCpYBT+4gu7kkBVysLfGaaebKpLTphQsI= Received: by 10.181.234.5 with SMTP id l5mr825643bkr.124.1227461376638; Sun, 23 Nov 2008 09:29:36 -0800 (PST) Received: by 10.180.242.10 with HTTP; Sun, 23 Nov 2008 09:29:36 -0800 (PST) Message-ID: Date: Sun, 23 Nov 2008 10:29:36 -0700 From: "Jean Krivine" To: "Romain Beauxis" Subject: Re: [Caml-list] Manipulating xml files withing ocaml Cc: caml-list@inria.fr In-Reply-To: <973993371404177a877c4a79e4f15713@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <973993371404177a877c4a79e4f15713@localhost> X-Miltered: at concorde with ID 49299301.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; krivine:01 krivine:01 ocaml:01 ocaml:01 motion-twin:01 23,:98 wrote:01 wrote:01 caml-list:01 parse:02 construct:02 seems:03 library:03 manipulating:09 instance:10 Superb that seems to be what I needed thanks! J On Sun, Nov 23, 2008 at 10:18 AM, Romain Beauxis wrote: > > Hi Jean ! > > On Sun, 23 Nov 2008 10:13:27 -0700, "Jean Krivine" > wrote: >> Just a quick question, I would like to open and access easily an xml >> file within my ocaml program. Does someone have a small library that >> would help me doing that? All the things I found for now are >> libraries that help me construct xml and check for consistency which >> is not what I want. > > If the xml you intend to parse is not too broken (like html for instance), > you can try to use xml-light, whose APIis very simple. > > The link: > http://tech.motion-twin.com/xmllight.html > > Romain >