Stored procedure to validate xml content against dtd
It is not possible to validate XML against a DTD file using SQL Server.

You can validate the XML with a XSD stored in a XML Schema Collection using a strong typed XML variable 

DECLARE @x xml(YourXMLSchemaCollectionName);
SET @X = 'YourXML';