>Problem of the day:
>
>I have an external DTD and I must build XML documents that conform to that DTD. I can not, as in all of the stuff in Rick's wwXML classlib, build my own DTD on the fly from the content of what I am sending. This is because the order of tags inside the document is significant when using a validating XML parser.
>
I'm foggy. Are you trying to create an XML document from a DTD, or the other way around? As you probably know, you can create nodes through the Document object using oDOM.CreateNode(). AFAIK, there is no built in support for constructing a DTD. Sorry if I'm a mile off here.
FWIW, I have discarded the idea of using DTDs in favor of Schemas because of this and all the other reasons that come along with the fact that DTDs are not XML, and Schemas are. Schemas can be read and created with the parser just like the documents they are validating. If you have any control over the decision of which to use, I highly recommend investigating what schemas can get you.
Erik Moore
Clientelligence