1 (***********************************************************************)
5 (* Kim Nguyen, LRI UMR8623 *)
6 (* Université Paris-Sud & CNRS *)
8 (* Copyright 2010-2012 Université Paris-Sud and Centre National de la *)
9 (* Recherche Scientifique. All rights reserved. This file is *)
10 (* distributed under the terms of the GNU Lesser General Public *)
11 (* License, with the special exception on linking described in file *)
14 (***********************************************************************)
16 (** Implementation of qualified names as hashconsed strings *)
18 include Hcons.S with type data = string
19 include Sigs.Printable with type t := t
22 val of_string : string -> t
23 (** Utility function, equivalent to [make] *)
25 val to_string : t -> string
26 (** Utility function, equivalent to [node] *)
29 (** Special constants, that denote the QName of nodes that are not
30 elements (using the nodeValue property of DOM for such nodes.
34 (** Represents the QName of a document node. Equivalent to
35 [of_string "#document"]
39 (** Represents the QName of a text node. Equivalent to
44 (** Represents the QName of a document node. Equivalent to
45 [of_string "#cdata-section"]
49 (** Represents the QName of a comment node. Equivalent to
50 [of_string "#cdata-section"]
53 val document_fragment : t
54 (** Represents the QName of a document fragment. Equivalent to
55 [of_string "#document-fragment"]
59 (** Represents the QName of a dummy document node holding the
60 attributes of the current element. Equivalent to
61 [of_string "#attribute-map"]
65 (** Represents the QName of a nil node. Equivalent to