This little patch makes the <esql:results> and <esql:no-reuslts> exclusive as they should be IMHO. Before, tags inside the <esql:results> got copied even when there was no result at all. Donald could you have a look if this breaks anything? Looks fine on my machine though... -- Torsten