doc_type_namespace
doc_type_namespace ([doc])
This function returns the target namespace URI declared in the XML schema for the document type associated with doc. If the document type is defined by a DTD but was located using a namespace URI catalog entry, then that namespace URI is returned. Otherwise, a null string is returned.
If doc is omitted, the current document is used.