aboutsummaryrefslogtreecommitdiff
path: root/lib/xml_datatype.mli
diff options
context:
space:
mode:
authorPierre-Marie Pédrot2015-08-15 21:49:22 +0200
committerPierre-Marie Pédrot2015-08-15 21:51:36 +0200
commit2f5bc3148579ff359f179c758a7f4e724a14adf7 (patch)
tree36dd8a606a44d84bb5f081c518693a02efc6df67 /lib/xml_datatype.mli
parent54fb2cdf7bb5c45f5a237b2559fd26d90d8f4df1 (diff)
Revert the four previous commits and update the description of Richpp.
Correcting the code w.r.t. to the API was not the right solution. Instead, the API comment had to be corrected.
Diffstat (limited to 'lib/xml_datatype.mli')
-rw-r--r--lib/xml_datatype.mli14
1 files changed, 8 insertions, 6 deletions
diff --git a/lib/xml_datatype.mli b/lib/xml_datatype.mli
index f822080a6d..f61ba032a2 100644
--- a/lib/xml_datatype.mli
+++ b/lib/xml_datatype.mli
@@ -7,11 +7,13 @@
(************************************************************************)
(** ['a gxml] is the type for semi-structured documents. They generalize
- XML by allowing any kind of tags and attributes. *)
-type ('a, 'b) gxml =
- | Element of ('a * 'b * ('a, 'b) gxml list)
+ XML by allowing any kind of attributes. *)
+type 'a gxml =
+ | Element of (string * 'a * 'a gxml list)
| PCData of string
-(** [xml] is a semi-structured documents where tags are strings and attributes
- are association lists from string to string. *)
-type xml = (string, (string * string) list) gxml
+(** [xml] is a semi-structured documents where attributes are association
+ lists from string to string. *)
+type xml = (string * string) list gxml
+
+