使用XSD验证XSD模式

时间:2022-12-14 17:15:55

Since an XSD schema is a valid XML document itself, is there any main XSD document that could be used to validate any other XSD document?

既然XSD模式本身就是一个有效的XML文档,那么是否存在可以用来验证任何其他XSD文档的主XSD文档呢?

In case you wonder why I need this, I am working with a program called B2B Data Transformation from Informatica and I am trying to programatically generate an xml document (which is in fact XSD) but the program requires an XSD document that can validate the generated xml.

如果您想知道我为什么需要这样做,我正在使用一个名为来自Informatica的B2B数据转换程序,并且我正在尝试以编程方式生成一个xml文档(实际上是XSD),但是这个程序需要一个XSD文档来验证生成的xml。

1 个解决方案

#1


7  

Yes. XML Schema is written in XML Schema itself and can be downloaded from here

是的。XML模式是用XML模式本身编写的,可以从这里下载

#1


7  

Yes. XML Schema is written in XML Schema itself and can be downloaded from here

是的。XML模式是用XML模式本身编写的,可以从这里下载