Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cduce
cduce
Commits
4aaa5fb1
Commit
4aaa5fb1
authored
Oct 05, 2007
by
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
Changes
1
Hide whitespace changes
Inline
Side-by-side
web/memento.xml
View file @
4aaa5fb1
...
@@ -149,6 +149,11 @@ field <code>l</code> is not present)</li>
...
@@ -149,6 +149,11 @@ field <code>l</code> is not present)</li>
(semicolon can also be omitted in this case).
(semicolon can also be omitted in this case).
E.g:
<code>
<
a href="abc">[ 'abc' ]
</code>
.
</li>
E.g:
<code>
<
a href="abc">[ 'abc' ]
</code>
.
</li>
<li>
Types and patterns: same notations.
</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>
Operators:
<code>
load_xml : String -> Any; print_xml : Any -> String
</code>
</li>
</li>
</ul>
</ul>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment