A | |
| abs_range [Xml] |
Get the absolute character range the error occured at.
|
| attrib [Xml] | attrib xdata "href" returns the value of the "href"
attribute of the xml node (attribute matching is case-insensitive).
|
| attribs [Xml] | attribs xdata returns the attribute list of the xml node.
|
C | |
| children [Xml] | children xdata returns the children list of the xml node
Raise Xml.Not_element if the xml is not an element
|
E | |
| error [Xml] |
Get a full error message from an Xml error.
|
| error_msg [Xml] |
Get the Xml error message as a string.
|
F | |
| fold [Xml] | fold f init xdata is equivalent to
List.fold_left f init (Xml.children xdata)
Raise Xml.Not_element if the xml is not an element
|
I | |
| iter [Xml] | iter f xdata calls f on all children of the xml node.
|
L | |
| line [Xml] |
Get the line the error occured at.
|
M | |
| map [Xml] | map f xdata is equivalent to List.map f (Xml.children xdata)
Raise Xml.Not_element if the xml is not an element
|
P | |
| parse_file [Xml] |
Parse the named file into an Xml data structure.
|
| parse_in [Xml] |
Read the content of the in_channel and parse it into an Xml data
structure.
|
| parse_string [Xml] |
Parse the string containing an Xml document into an Xml data
structure.
|
| pcdata [Xml] | pcdata xdata returns the PCData value of the xml node.
|
R | |
| range [Xml] |
Get the relative character range (in current line) the error occured at.
|
T | |
| tag [Xml] | tag xdata returns the tag value of the xml node.
|
| to_string [Xml] |
Print the xml data structure into a compact xml string (without
any user-readable formating ).
|
| to_string_fmt [Xml] |
Print the xml data structure into an user-readable string with
tabs and lines break between different nodes.
|