• You will need to build a dynamic query and execute it (to have the value of a column transformed as an element name).

    .