Skip to main content

Hello, I’m new to this forum and have been working with ETL and FME Workbench for a short time.

I’m facing an issue with my XML output: the header and footer formatting come out messed up.

This formatting problem does not appear inside the XMLFormatter transformer, but after saving the physical file, the formatting issue becomes clear.

Has anyone experienced this or knows how to fix it?

Hi ​@francisco_1988 ,

Since a complete, pretty XML document will be built with the XMLTemplater and the XMLFormatter in your workspace, you don't need to use XML writer for writing the document into a file.

Just set "XML File" to the XML Output Type paramerter and specify desired destination file path to the XML Output File parameter in the XMLFormatter. Alternatively, you can also use Text File writer or Data File writer instead of XML writer to write the XML document into a file.

 


Hi ​@francisco_1988 ,

Since a complete, pretty XML document will be built with the XMLTemplater and the XMLFormatter in your workspace, you don't need to use XML writer for writing the document into a file.

Just set "XML File" to the XML Output Type paramerter and specify desired destination file path to the XML Output File parameter in the XMLFormatter. Alternatively, you can also use Text File writer or Data File writer instead of XML writer to write the XML document into a file.

 

 

Perfect !!! Why does this happen when adding a recorder at the end?

 

 


Reply