Commit 4aaa5fb1 authored by Pietro Abate's avatar Pietro Abate
Browse files

[r2003-11-18 23:39:37 by beppe] Added xtransform to the reference card.

Original author: beppe
Date: 2003-11-18 23:39:37+00:00
parent 7cd0a95f
......@@ -149,6 +149,11 @@ field <code>l</code> is not present)</li>
(semicolon can also be omitted in this case).
E.g: <code>&lt;a href="abc">[ 'abc' ]</code>.</li>
<li>Types and patterns: same notations.</li>
<li>Tree transformation: <code>xtransform e with p1 -> e1 | ... | pn -> en</code>.
Applies to sequences of XML trees. Unmatched elements are left unchanged and the
transformation is recursively applied to sequence of the children of the unmatched
element; as for transform, each branch returns a sequence
and all the resulting sequences are concatenated together. </li>
<li>Operators: <code>load_xml : String -> Any; print_xml : Any -> String</code>
</li>
</ul>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment