Search code examples
pentahostaxkettle

Kettle (pdi) - Open multiple files with Stax Step


I have millions of xmls I need to read, transform and save to a database.

Using StAX Step I managed to open an xml file and do what I needed.

But the filename only let me open one file per step. Was there any way I can do the Stax Step open more than one xml file at a time with a regular expression, or other solution?

PS: Do not necessarily need to be parallel openings of xmls, just need a transformation that alone can open all xmls from a folder and run what I need.

hugs


Solution

  • Open multiple files with Stax Step

    Hello everybody,

    Using the XML Input deprecated I could use regular expression in opening files.

    thank you