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: | Jon Harrop <jon@f...> |
| Subject: | Re: [Caml-list] [OSR] Suggested topic - XML processing API |
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