ESQL has an inherint 'set' processing ability. To place multiple occurances of an element in a tree just use the [index] syntax with the elements path name.
Eg:
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum