The following lines contain the word 'select', 'insert', 'update' or 'delete':
SELECT XMLConcat(
XMLElement("Extend",
XMLElement("Name", ext_table.attr_name1),
XMLElement("Value", ext_table.attr_value1)),
XMLElement("Extend",
XMLElement("Name", ext_table.attr_name2),
XMLElement("Value", ext_table.attr_value2))
)
FROM your_pay_instruction_lvl_table ext_table
WHERE ext_table.payment_instruction_id = p_payment_instruction_id;