How toation Read XML file as single string

Hi Team,

I want to read attached XML file from one location and write same xml file into another location.

For that i am using Universal Data reader-> Meta data → Universal Data writer

But universal data writer is giving below error, does any one help on this.

Component [UniversalDataReader:UNIVERSAL_DATA_READER] finished with status ERROR. (Out0: 488 recs)
Parsing error: Unexpected end of file in record 489, field 1 (“XMLString”), metadata “recordName1”; value: ‘SimpleDataParser does not provide raw record.’

Thanks in Advance.

Thanks,
Jagan.

Hi Jagan,

You should read the whole file in one big field instead of trying to read it line by line. Just delete delimiters in your metadata, set the field to byte type and set “EOF as delimiter” to true. PFA your modified graph.

PayrollFileMove_modified.grf