This command appends a new Document Type Declaration - or more precisely, the DOCTYPE block for the internal subset of a Document Type Declaration (DTD) - after the last element within the same parent.
Please note:
A DOCTYPE block may only appear at the top of an XML instance document between the XML Declaration and the root element of the XML document.