本文介绍了将XSD转换为DTD?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 29岁程序员,3月因学历无情被辞! 你好, 有没有人知道如何将XML Schema文件转换成 DTD的方法/解决方案?我知道在某些情况下这种转换是不可能的,并且可能会发生一些信息丢失 (特别是数据类型)。但是,在许多情况下,至少应该可以获得至少XSD结构的。 任何帮助将不胜感激。在此先感谢。 - Michael Wein 解决方案 嗨迈克尔, XMLSpy 2004支持XSD和DTD之间的转换(菜单: " DTD / Schema">"转换DTD /架构...)。 HTH, Dirk - 世界上有10个人。 了解二元和那些不理解的人。 嗨德克, 谢谢你的快速回复。但是因为我们手头没有XML Spy,所以我们需要 来寻找不同的解决方案。 - Michael Wein 嗨德克, 谢谢你的快速回复。但是由于我们手头没有XML Spy,我们有寻找不同的解决方案。 嗨Michael, 也许你试试W3C dtd2xsd转换工具: http://www.w3.org/2000/04/schema_hack/ 这是免费的,但我不知道它是否像强大的一样作为XMLSpy转换。 Dirk - 世界上有10个人。 /> 了解二元和那些不理解的人。 Hello,does anyone know of a way/solution how to convert XML Schema documents intoDTD? I am aware of the fact that such a conversion won''t be possible undercertain circumstances and that probably some information loss will occur(esp. data types). However, in many cases it should be possible to obtainat least the structure of the XSD.Any help would be greatly appreciated. Thanks in advance.--Michael Wein 解决方案Hi Michael,XMLSpy 2004 supports the conversion between XSD and DTD (Menu:"DTD/Schema"->"Convert DTD/Schema...").HTH,Dirk--There are 10 people in the world.Those who understand binary and those who don''t.Hi Dirk,thank you for the quick reply. But as we don''t have XML Spy at hand we haveto look for a different solution.--Michael Wein Hi Dirk, thank you for the quick reply. But as we don''t have XML Spy at hand we have to look for a different solution.Hi Michael,perhaps you give the W3C dtd2xsd conversion tool a try: http://www.w3.org/2000/04/schema_hack/It is free, but I do not know if it is as mighty as the XMLSpy conversion.Dirk--There are 10 people in the world.Those who understand binary and those who don''t. 这篇关于将XSD转换为DTD?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云! 08-20 20:34