Filters duplicate elements from a list. Given a list, it returns a new list in which duplicate entries have been removed.
<filterdup> <list> <s>apples</s> <s>oranges</s> <s>apples</s> </list> </filterdup>
This expression returns the following list.
<list> <s>apples</s> <s>oranges</s> </list>
You can also use this function to manipulate an existing list rather than creating a new list.
<filterdup name = ’namedlist’/>