I have a huge file which has multiple complete XMLs joined one after another. I want to work on these XMLs individually, so I am looking for a way to extract these. I tried ‘Universal Reader’ with delimiter ‘<?’ and it worked fine except for the fact that each extracted XML then had the ‘<?’ part missing (as it was marked as delimited). Can someone please suggest the right approach to do this task.
I am using the latest CloverETL community edition.
Input:
<?xml version="1.0" encoding="UTF-8"?>XML1…
<?xml version="1.0" encoding="UTF-8"?>XML2…
<?xml version="1.0" encoding="UTF-8"?>XML3…
Output:
<?xml version="1.0" encoding="UTF-8"?>XML1…
and
<?xml version="1.0" encoding="UTF-8"?>XML2…
and
<?xml version="1.0" encoding="UTF-8"?>XML3…