Can we make a database connection from an XML document? If so, please explain the procedure.
This question does indicate that the author of this question considers a XML document as a runtime entity.
Although APIs such as DOM provide runtime representions of documents, a document is a still a document. At run time, the DOM is just a data structure without any behavior. If the author wants to execute some logic (such as database logic) while dealing with a document, he should do it in the code that is manipulating it.