Sorry to disappoint but (and I've just tried it again - in split view to check the code blocks being selected) I select the row from the <tr> tag in the tag selector. This is the block of code highlighted in code view and yet still, when I apply the server behavior, the repeatselection behavior encompasses the entire table - including buttons.
If, as a further example, I select only one of the items in the required row (say the dynamic text drawn from the recordset) and then apply the repeatselection behavior, the opening code block is placed even before the "<!DOCTYPE html PUBLIC ..." declaration with the closing code block after the table in which the data appears!!!
If you'd like to arrange a mutually convenient time to log on I'll show you the prcess and the result.