将XSD转换为DTD? [英] Converting XSD into DTD?

查看:100
本文介绍了将XSD转换为DTD?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,


有没有人知道如何将XML Schema文件转换成

DTD的方法/解决方案?我知道在某些情况下这种转换是不可能的,并且可能会发生一些信息丢失

(特别是数据类型)。但是,在许多情况下,至少应该可以获得至少XSD结构的



任何帮助将不胜感激。在此先感谢。

-

Michael Wein

解决方案

Michael Wein写道:< blockquote class =post_quotes>有没有人知道如何将XML Schema文档转换为DTD的方法/解决方案?我知道在某些情况下这种转换是不可能的,并且可能会发生一些信息丢失
(特别是数据类型)。但是,在很多情况下应该可以获得至少XSD的结构。




嗨迈克尔,


XMLSpy 2004支持XSD和DTD之间的转换(菜单:

" DTD / Schema">"转换DTD /架构...)。


HTH,


Dirk

-

世界上有10个人。

了解二元和那些不理解的人。


2004年2月27日星期五06:54:13 + 0100,Dirk Segelhorst写道:

XMLSpy 2004支持XSD和DTD之间的转换(菜单:
DTD / Schema - >"转换DTD / Schema ..." )。




嗨德克,


谢谢你的快速回复。但是因为我们手头没有XML Spy,所以我们需要

来寻找不同的解决方案。

-

Michael Wein


Michael Wein写道:

2004年2月27日星期五06:54:13 +0100,Dirk Segelhorst写道:

XMLSpy 2004支持XSD和DTD之间的转换(菜单:
DTD / Schema - >"转换DTD / Schema ..." )。



嗨德克,

谢谢你的快速回复。但是由于我们手头没有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 into
DTD? I am aware of the fact that such a conversion won''t be possible under
certain circumstances and that probably some information loss will occur
(esp. data types). However, in many cases it should be possible to obtain
at least the structure of the XSD.

Any help would be greatly appreciated. Thanks in advance.
--
Michael Wein

解决方案

Michael Wein wrote:

does anyone know of a way/solution how to convert XML Schema documents into
DTD? I am aware of the fact that such a conversion won''t be possible under
certain circumstances and that probably some information loss will occur
(esp. data types). However, in many cases it should be possible to obtain
at least the structure of the XSD.



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.


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...").



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.
--
Michael Wein


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...").


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?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆