Browse thread
[OSR] Suggested topic - XML processing API
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Jim Miller <gordon.j.miller@g...> |
| Subject: | Re: [Caml-list] [OSR] Suggested topic - XML processing API |
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 <jon@ffconsultancy.com> 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
>