| 1 | (************************************************************************) |
| 2 | (* * The Rocq Prover / The Rocq Development Team *) |
| 3 | (* v * Copyright INRIA, CNRS and contributors *) |
| 4 | (* <O___,, * (see version control and CREDITS file for authors & dates) *) |
| 5 | (* \VV/ **************************************************************) |
| 6 | (* // * This file is distributed under the terms of the *) |
| 7 | (* * GNU Lesser General Public License Version 2.1 *) |
| 8 | (* * (see LICENSE file for the text of the license) *) |
| 9 | (************************************************************************) |
| 10 | |
| 11 | (** ['a gxml] is the type for semi-structured documents. They generalize |
| 12 | XML by allowing any kind of attributes. *) |
| 13 | type 'a gxml = |
| 14 | | Element of (string * 'a * 'a gxml list) |
| 15 | | PCData of string |
| 16 | |
| 17 | (** [xml] is a semi-structured documents where attributes are association |
| 18 | lists from string to string. *) |
| 19 | type xml = (string * string) list gxml |
| 20 | |
| 21 |