Question
· Jul 17, 2019

Omit xml header line when writing xml files using EnsLib.EDI.XML.Operation.FileOperation

Hi all,

is it possible to omit the typical XML header line

<?xml version="1.0" encoding="ISO-8859-1" ?>

when writing an the contents of a EnsLib.EDI.XML.Document  using the above mentioned operation. I´ve already digged into the config value Format. It only states that:

C(e) : output an XML header line declaring character encoding e. If e is empty use the encoding defined by the Adapter. If e begins with ! force the output stream's encoding. Note that this will be applied automatically for File Operations configured with a non-UTF-8 Charset

The target system requires to receive the file contents without that specific header line. It would come in pretty handy if this could be configured at the operation itself.

Maybe I miss something in the documentation here and someone knows the trick to do that

Kind regards,

sebastian

Discussion (2)1
Log in or sign up to continue