来自XSD文件的CHM文件

来自XSD文件的CHM文件,xsd,sandcastle,Xsd,Sandcastle,是否可以从XSD文件创建CHM文件或HTML帮助(类似于Sandcastle创建的帮助)?xs:documentation节点中的文本包含文档 我拥有的一个XSD文件中的一个示例片段是 <xs:element name="Request" type="RequestType"> <xs:annotation> <xs:documentation> <html:p>The Request message

是否可以从XSD文件创建CHM文件或HTML帮助(类似于Sandcastle创建的帮助)?
xs:documentation
节点中的文本包含文档

我拥有的一个XSD文件中的一个示例片段是

<xs:element name="Request" type="RequestType">
    <xs:annotation>
        <xs:documentation>
            <html:p>The Request message contains a number of <html:i>RequestType</html:i> elements for the server to process.</html:p>
            <html:p>A <html:i>Request</html:i> will always result in a <html:i>Response</html:i> message being returned by the server, and <html:b>must</html:b> contain an <html:b>xmlns=[<html:i>Default namespace</html:i>]</html:b> declaration.</html:p>
        </xs:documentation>
    </xs:annotation>
</xs:element>
<xs:element name="Response" type="ResponseType">
    <xs:annotation>
        <xs:documentation>The Response message contains the result of a previous <html:i>Request</html:i> message, with one <html:i>ResponseType</html:i> element for each <html:i>RequestType</html:i> sent to the server.</xs:documentation>
    </xs:annotation>
</xs:element>

请求消息包含服务器要处理的许多RequestType元素。
请求将始终导致服务器返回响应消息,并且必须包含xmlns=[默认名称空间]声明。
响应消息包含前一个请求消息的结果,每个请求类型都有一个ResponseType元素发送到服务器。
有一个名为“xs3p”的XSLT,可以从下载

您可以使用任何XSLT处理器将XSD转换为HTML—我使用OlegTkachenko的“”

第二步是使用一些HTML帮助生成器将几个HTML组合成一个CHM

马克

PS:忘了提及-当然,这两个工具都是免费的:-)

有一个名为“xs3p”的XSLT,可以从下载

您可以使用任何XSLT处理器将XSD转换为HTML—我使用OlegTkachenko的“”

第二步是使用一些HTML帮助生成器将几个HTML组合成一个CHM

马克

PS:忘了提及-这两个工具都是免费的,当然:-)

是一个插件,允许您在帮助文件中集成XML模式的参考文档

是一个插件,允许您将XML模式的参考文档集成到帮助文件中