Free DTD to XSD conversion utility? [closed]

 ̄綄美尐妖づ 提交于 2019-11-26 09:29:41

问题


I have a DTD that I need to convert to an XSD (XML schema) file. Is there a free utility or simple way to accomplish this?


回答1:


The W3C offers one. There are also online converters.




回答2:


If you happen to have Visual Studio, open the DTD file an you should have a button to "Create Schema" out of it.
I haven't checked if it was available on Express edition, though.




回答3:


Try xmlpad from http://www.wmhelp.com to convert DTD to XSD. Really nice tool.




回答4:


http://www.thaiopensource.com/relaxng/trang.html

Trang converts between different schema languages for XML. It supports the following languages:

  • RELAX NG (XML syntax)
  • RELAX NG compact syntax
  • XML 1.0 DTDs
  • W3C XML Schema

http://www.thaiopensource.com/relaxng/trang-manual.html



来源:https://stackoverflow.com/questions/1510126/free-dtd-to-xsd-conversion-utility

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!