An XML declaration is
not required in all XML documents. Such a declaration is required
only when the character encoding of the document is other than the
default UTF-8 or UTF-16 and no encoding was determined by a higher-level
protocol.
The ODSCHARSET option,
in the LIBNAME statement for the XML engine, specifies the character
set to use for generating an output XML document.