(***********************************************************************)
(*
- Time-stamp: <Last modified on 2013-01-30 19:07:34 CET by Kim Nguyen>
+ Time-stamp: <Last modified on 2013-03-04 22:48:34 CET by Kim Nguyen>
*)
(** Implementation of qualified names as hashconsed strings *)
-include Sigs.HCONS.S with type data = string
-include Sigs.AUX.Printable with type t := t
+include Hcons.S with type data = string
+include Common_sig.Printable with type t := t
val of_string : string -> t
val comment : t
(** Represents the QName of a comment node. Equivalent to
- [of_string "#cdata-section"]
+ [of_string "#comment"]
*)
val document_fragment : t
(** Represents the QName of a nil node. Equivalent to
[of_string "#"]
*)
+
+val attribute_prefix : t
+(** Represents a prefix that may be prepended to attribute name
+ to distinguish them from element names
+*)
+
+val has_attribute_prefix : t -> bool
+(** Tests whether the given QName starts with the attribute prefix
+*)
+
+val add_attribute_prefix : t -> t
+(** Prepends the attribute_prefix to the given QName *)