I think this is a sensible question but am happy to be pointed out the error of my ways.
I am specifying a new product for which I would like to have an XML Schema interface (not sure whether W3C or Relax NG as yet). I would also like to have a DTD that describes the same interface for those clients who are unable to use Schemas for one reason or another. Is it possible to generate a DTD from a given Schema ? I can seem to find lots of things about specific tools generating DTD's and Schemas from a given XML document.
However logically I would like to maintain one schema for which I can then generate an equally valid DTD and also example XML documents.
BTW: I would ideally like this to be possible from either command line such that it can be hooked into the build process or from some kind of Emacs mode ?
Appreciate any help in advance.....
I am specifying a new product for which I would like to have an XML Schema interface (not sure whether W3C or Relax NG as yet). I would also like to have a DTD that describes the same interface for those clients who are unable to use Schemas for one reason or another. Is it possible to generate a DTD from a given Schema ? I can seem to find lots of things about specific tools generating DTD's and Schemas from a given XML document.
However logically I would like to maintain one schema for which I can then generate an equally valid DTD and also example XML documents.
BTW: I would ideally like this to be possible from either command line such that it can be hooked into the build process or from some kind of Emacs mode ?
Appreciate any help in advance.....