We don’t allow questions seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(2)
DTD 是一项已弃用的技术。您需要将其转换为 XSD 才能真正实现这一目标。 W3 有从 DTD 到 XML Schema 的转换工具,可能会有所帮助。
我认为您也许可以使用 ADO.Net 实体框架从 XSD 文件生成模型 问题生成实体框架模型,将模型重新定位到数据库,然后从中生成架构。
请记住,我自己还没有尝试过。这似乎是一条可能的道路。我希望这有帮助。祝你好运。
DTD is a deprecated technology. You'll need to convert it to XSD to have any real hope of achieving this. W3 has A Conversion Tool from DTD to XML Schema which might help.
I'm thinking that you may be able to use the Codeplex project mentioned in the ADO.Net Entity Framework generate model from XSD file question to generate an Entity Framework model, retarget the model to a database and then generate schema from that.
Bear in mind, that I have not tried this myself. It just seems a likely path. I hope this helps. Good luck.
使用以下工具:
参考
DTD工具
Use the following tools:
References
DTD Tools
XML Matters: Using Python modules xml2sql and dtd2sql