Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All,
I am trying to read xml from a db and dump the contents to csv or db. For example:
my query is select top 10 xml from xml table.
I want to generate 10 (or more) rows of data to csv.
I have created:
tjDBCInput --<main> -- tExtractXMLField -- <main> -- tFileOutputDelimited
However I am finding that 10 rows will be generated by DB component and passed onto XML component. The XML is passed correctly, but only 1 row will be generated by the XML component and saved into File component. (expecting 10 rows and 10 rows)
Can anyone please help? It's the same when I replaced file with tLogRow. (see screenshot below)
In addition, if I get this work, I want to extract more repeating elements out from the XML data, and output to a relational database, any tips?
Many Thanks,
Anthony