Mashups in EMML : Writing Mashups in EMML : Transforming Intermediate Results : <annotate>
<annotate>
 
<annotate> Examples
This statement adds attributes or children nodes to node(s) of a document-type variable. Each added node is defined in text within the body of <annotate> in the form:
[element | attribute] name value
Both the name and value of attributes or children can be a literals or dynamic expressions. Separate multiple annotation definitions with commas.
For examples, see <annotate> Basics, Define a New Child, Define a New Attribute, Set Names or Values Dynamically, Define Children with Namespaces and Make Multiple Annotations to the Selected Variable and Nodes. See also Working Samples for information on mashup samples that use this statement.
Can Contain
The specific syntax for annotations.
Allowed In
mashup | catch | else | elseif | for | foreach | if | macro | operation | sequence | try | while
Attributes
Name
Required
Description
variable
yes
The required input variable for this statement.
expr
yes
The relative path within the input variable to the node to be annotated.
Copyright © 2006-2015 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback