Index of values


C
compare [Ocamlduce.Atom]
compare [Ocamlduce.Namespace]
compare [Ocamlduce]
A total ordering on x-values.

E
empty [Ocamlduce.NamespaceTable]
empty [Ocamlduce.Namespace]
end_elem [Ocamlduce.Load]
end_element l x is to be called when the XML parser encounters the closing markup for an XML element.
equal [Ocamlduce.Atom]
equal [Ocamlduce.Namespace]
equal [Ocamlduce]
Equality test on x-values.

G
get [Ocamlduce.Record]
get [Ocamlduce.Load]
get l is to be called when the whole XML document has been parsed.
get [Ocamlduce.NamespaceScope]
get v extracts the namespace bindings from the value v or raise Not_found if v has no attached namespace bindings.
get [Ocamlduce.NamespaceTable]
get [Ocamlduce.Atom]
get [Ocamlduce.Namespace]
get [Ocamlduce.Latin1]
get [Ocamlduce.Utf8]
get [Ocamlduce.NonnegInt]
get [Ocamlduce.Int]

H
hash [Ocamlduce.Atom]
hash [Ocamlduce.Namespace]
hash [Ocamlduce]
Hash function on x-values.

M
make [Ocamlduce.Record]
Raises an Invalid_argument exception if a field label appears several times.
make [Ocamlduce.Load]
make ~ns () creates a fresh loader.
make [Ocamlduce.NamespaceTable]
make [Ocamlduce.Atom]
make [Ocamlduce.Namespace]
make [Ocamlduce.Latin1]
make [Ocamlduce.Utf8]
Raises the exception Failure "Utf8.make" if the argument is not a valid UTF-8 encoded string.
make [Ocamlduce.NonnegInt]
make [Ocamlduce.Int]

P
print [Ocamlduce]
Pretty-print a value as in the toplevel.
print_xml [Ocamlduce.Print]
print f ~data ~ns v produces a textual representation of the XML tree v.

R
resolve_prefix [Ocamlduce.NamespaceScope]
resolve_prefix [Ocamlduce.NamespaceTable]
resolve_qname [Ocamlduce.NamespaceScope]
resolve_qname [Ocamlduce.NamespaceTable]

S
serialize [Ocamlduce.Print]
serialize ~start_elem ~end_elem ~empty_elem ~text ~ns v traverses the XML tree v and produce a linear representation of it by calling callback functions.
set [Ocamlduce.NamespaceScope]
set v ns returns a value equal to v except for the attached namespace bindings which are set to ns.
start_elem [Ocamlduce.Load]
start_elem l tag attr is to be called when the XML parser encounters the opening markup for an XML element with specified tag and attributes.
sub [Ocamlduce.Load]
sub l v inserts an already parsed XML element as a subtree.

T
text [Ocamlduce.Load]
text l txt is to be called when the XML parser encounters some textual data (PCDATA).
to_string [Ocamlduce]
Same as print but returns the value in a string.

X
xml [Ocamlduce.Namespace]