Module Xml_datatype

type 'a gxml =
| Element of string * 'a * 'a gxml list
| PCData of string

'a gxml is the type for semi-structured documents. They generalize XML by allowing any kind of attributes.

type xml = (string * string) list gxml

xml is a semi-structured documents where attributes are association lists from string to string.