A | |
| apply_into_file [Xtmpl] |
As
Xtmpl.apply_to_file, but writes the result back to a file.
|
| apply_string_into_file [Xtmpl] |
As
Xtmpl.apply_into_file, but read the XML from a string instead of a file.
|
| apply_to_file [Xtmpl] |
As
Xtmpl.apply_to_string, but reads the XML from a file.
|
| apply_to_string [Xtmpl] |
Applies as many iterations as necessary to a piece of XML (represented
as an unparsed string) to reach a fix-point.
|
| apply_to_xmls [Xtmpl] |
As
Xtmpl.apply_to_string, but applies to a list of XML trees.
|
| att_defer [Xtmpl] |
The defer attribute, currently
"defer_".
|
| att_escamp [Xtmpl] |
The escamp attribute, currently
"escamp_".
|
| att_protect [Xtmpl] |
The protect attribute, currently "protect_".
|
| atts_empty [Xtmpl] |
Empty
Xtmpl.attributes structure.
|
| atts_of_list [Xtmpl] | atts_of_list list returns an Xtmpl.attributes structure from the given
list of pairs (name, xml tree list) ; (name, xml tree list) ; ....
|
| atts_one [Xtmpl] | atts_one ?atts name xmls is like Xtmpl.atts_of_list but for one attribute.
|
| atts_remove [Xtmpl] | atts_remove name attributes removes the binding to name from the
attributes.
|
| atts_replace [Xtmpl] | atts_replace name xmls attributes adds a new bindings from name to
xmls in attributes.
|
E | |
| env_add [Xtmpl] |
Add a binding to an environment.
|
| env_add_att [Xtmpl] |
Bind a callback that returns some XML.
|
| env_empty [Xtmpl] |
An environment that contains only one binding, associating
Xtmpl.tag_main to a function such as (fun data _env _atts subs -> (data, subs)),
i.e.
|
| env_get [Xtmpl] |
Get a binding from an environment.
|
| env_of_list [Xtmpl] |
Add several bindings at once.
|
G | |
| get_arg [Xtmpl] | get_arg attributes name returns the xml tree list bound to name in
attributes.
|
| get_arg_cdata [Xtmpl] |
Same as
Xtmpl.get_arg but return a string s only if name is bound to
a single CDATA XML node ([D s]).
|
M | |
| merge_cdata [Xtmpl] |
Recursively merge sibling
D nodes into one D node.
|
| merge_cdata_list [Xtmpl] |
Same as
Xtmpl.merge_cdata but taking a Xtmpl.tree list.
|
O | |
| opt_arg [Xtmpl] | opt_arg attributes ?def name returns the tree list associated to name
in the attributes or a default value.
|
| opt_arg_cdata [Xtmpl] |
Same as
Xtmpl.opt_arg but looking for CDATA bounded values, as in
Xtmpl.get_arg_cdata.
|
S | |
| string_of_args [Xtmpl] |
Return a string representation of attributes, in the form
a="foo" b="bar" ....
|
| string_of_env [Xtmpl] |
String representation of all the keys in the environment.
|
| string_of_stack [Xtmpl] |
String representation of the given rewrite stack.
|
| string_of_xml [Xtmpl] |
Output an XML string.
|
| string_of_xml_atts [Xtmpl] |
Return a list of strings to represent the given attributes.
|
| string_of_xmls [Xtmpl] |
Use
Xtmpl.string_of_xml to concatenate a list of xml trees into one string,
with no separator.
|
T | |
| tag_env [Xtmpl] |
The environment tag, currently
"env_".
|
| tag_main [Xtmpl] |
A dummy tag, currently
"main_".
|
X | |
| xml_of_file [Xtmpl] |
Same as
Xtmpl.xml_of_string but read from a file.
|
| xml_of_string [Xtmpl] |
Parses a string as XML.
|
| xmls_of_atts [Xtmpl] |
Convert "string attributes" to an
Xtmpl.attributes structure.
|