In ktr i have used "Table input" connector and passed query as a variable, In it I don't know how much column it will have in select statement if query is (Select * from table) and need to generate an XML output using that query dynamically. So, I want to fetch fields dynamically in "Add XML" Field. I tried with an "ETL Metadata Injection" connector but it does not support to "ADD XML" Connector.
Find Attached Sample.ktr

Please provide me any suggestion if you have.
Thanks in advance.