Problem:
Release 4.0:
How can an XML file be created without NAMESPACE and XMLNS attributes?
Resolution:
If your SELECT statement contains the clause: DOCUMENT-TYPE "dummy.xsd"
and your XD contains:
01 Support identified "Support"
NAMESPACE "http://www.microfocus.com/Support"
You get:
<Support xmlns="http://www.microfocus.com/Support" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.microfocus.com/Support dummy.xsd">
<Person Job="Supporter">Harald Cordes</Person>
</Support>
The DOCUMENT-TYPE clause is optional since some updates and can be left out.
If your compiler (XML preprocessor) installation still requires a DOCUMENT-TYPE, please update it.
The NAMESPACE clause is optional.
If you Leave both, you can get the root element without any attribute:
<Support>
<Person Job="Supporter">Harald Cordes</Person>
</Support>