I have seen many examples of using a DTD to validate XML documents, but I was wondering if they could be used to dynamically define a document at runtime. Specifically, I was wondering if a DTD and a list of 'target' elements could be used to collect values (under those elements) from a document.
↧