简体   繁体   English

XSD文档

[英]xsd documentation

I have one xsd file ,I used xmlpad to validate this xsd against xml files. 我有一个xsd文件,我使用xmlpad针对xml文件验证了该xsd。 xmlpad will generate documentation for xsd. xmlpad将为xsd生成文档。 but my problem is I added some xml comments in the xsd file (for documentation purpose). 但是我的问题是我在xsd文件中添加了一些xml注释(出于文档目的)。 when i generate documentation for xsd using xmlpad comments are not appeared in the documentation.Can any one suggest me how to overcome this problem and also is there any other way to do this? 当我使用xmlpad为xsd生成文档时,文档中未出现注释。有人可以建议我如何解决此问题,还有其他方法可以做到这一点吗? any other free tools. 任何其他免费工具。

Thanks in advance. 提前致谢。

您可以尝试使用xsd:annotation记录您的架构。

I used XMLSPY. 我使用了XMLSPY。 If you include the explanation with xsd:annotation tag. 如果您在xsd:annotation标记中包含说明。 It will serve as documentation. 它将作为文档。 I hope you can do the same in XMLPAD. 我希望您可以在XMLPAD中执行相同的操作。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM