Xml_datatype'a gxml is the type for semi-structured documents. They generalize XML by allowing any kind of attributes.
type xml = (string * string) list gxmlxml is a semi-structured documents where attributes are association lists from string to string.