When you combine XML files, only one file can have a DOCTYPE declaration. This file must be earliest in the configuration path of all files to combine. The DOCTYPE that this base file declares determines the DOCTYPE of the resulting file.