On Mon, 01 Mar 2004 06:53:14 +0100, Dirk Segelhorst wrote:
Michael Wein wrote: On Fri, 27 Feb 2004 17:12:58 +0100, Michael Wein wrote:
On Fri, 27 Feb 2004 06:54:13 +0100, Dirk Segelhorst wrote:
XMLSpy 2004 supports the conversion between XSD and DTD (Menu:
"DTD/Schema"->"Convert DTD/Schema...").
Just downloaded XML Spy and tried that "feature". The DTD generated is
completely useless (not to say: crap). E.g. it generated !ATTLIST for
complex types!? I fear that won't work. :-(
Small correction: As I figured out, XML Spy simply generates a DTD for the
given XML file -- it completely ignores that the XML acutally is a schema
definition. So here we are at the wrong meta level ;-)
Which XMLSpy version do you use? Trying the same with XMLSpy 2004
Enterprise Edition works fine for my schema! And it really generated the
DTD from schema and not from XML.
Just one more correction: I must apologize for not following your advice
correctly. Instead of converting the schema the way you proposed I chose
"generate" schema what, of course, led to the wrong result. No looking
closer and *converting* the schema into a DTD seems to be successfull!
Thank you very much, this will be a good start for us.
--
Michael Wein