是否可以使用 Doxygen、Sandcastle 或其他文档生成器记录 XML? [英] Can XML be documented using Doxygen, Sandcastle, or other documentation generators?
问题描述
我目前正在使用 Sandcastle、Doxygen 和 JavaDoc 为我编写的代码生成文档.是否可以使用这些包记录 XML 模式?如果没有,是否有任何(最好是免费的!)包可以做到这一点?我可以自己编写文档作为 Doxygen 或 Sandcastle 中的一个额外概念主题,但我宁愿一个工具为我做这件事!
I am currently using Sandcastle, Doxygen, and JavaDoc to generate documentation for code I have written. Is it possible to document XML schemas using these packages? If not, are there any (preferably free!) packages which can do this? I could write the documentation myself as an extra conceptual topic within Doxygen or Sandcastle, but I would rather a tool did it for me!
一个例子是(虽然我不是 XML Schema 方面的专家!):
An example would be (although I am no expert at XML Schema!):
/// <summary>Top Node</summary>
<xs:element name="TopNode">
/// <summary>Child Node</summary>
<xs:element name="ChildNode" type="xs:string"/>
</xs:element>
推荐答案
我所知道的唯一可以记录 XML 模式的工具是 DocFlex/XML XSDDoc.坦率地说,我没有太多使用它的经验,但我确实用它很少,它做得很好.
The only tool that I know of that can document XML schemas is DocFlex/XML XSDDoc. Quite frankly, I don't have much experience using it but for what little use I did have of it, it did a pretty good job.
这篇关于是否可以使用 Doxygen、Sandcastle 或其他文档生成器记录 XML?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!