Originally posted by Rajesh Thakare:
I want to have both DTD and Schema because I want to validate xml using schema but some part of my xml is in another xml file (?xml version="1.0" sandalone="no" )
DTD or schema has nothing to do with the standalone attribute in the XML prolog.
If standalone is true ; it means that the resources to validate the xml is available locally(Doesn't depend on external entity..(but nothing it says about the kind of validation that you are planning to impose.)