Appends a value to a list. The argument list takes one of two forms depending on the presence of the name attribute. If name is not specified, then the first argument must be a list and the remaining arguments are elements to append to that list. A copy of the list is returned, the original list is not modified. If the name argument is used, then all arguments are considered objects to be appended to the list contained in the variable with that name. The list is modified without being copied.
The following expression makes a copy of the list contained in the variable srclist then appends one element.
<append> <ref>srclist</ref> <s>oranges</s> </append>
The following expression modifies an existing list by appending a value.
<set name= ’somelist’> <List> <s>We</s> <s>say</s> </List> </set> <append name= ’somelist’> <s>Hello</s> <s>World</s> </append> <ref>someList</ref>