问题描述
- Ubuntu 11.04 x64
- PHP 5.3.5
- VIM 7.3.35
- XMLVend 规范
我正在编写一个 XMLVend API,我想从我有权访问的一些规范文件中生成一些示例 XML.所以我的问题如下:
I am writing an XMLVend API and I would like to have some example XML generated from some of the specification files I have access to. So my question is as follows:
如何从我也可以访问的 WSDL、XSL、XSD 和 JSPX 文件派生/生成有效的 XML 文件?
How can I go about deriving/generating valid XML files from the WSDL, XSL, XSD, and JSPX files I have access too?
推荐答案
从推荐 levand 找到这个答案="http://www.oxygenxml.com/" rel="nofollow noreferrer">氧气.通过他们的 30 天免费试用,我能够生成一些我需要的不同类型的示例 XML 文档.
Found this answer from user levand who recommended Oxygen. Using their 30 day free trial I was able to generate some example XML documents of the different types I needed.
具体来说,在安装并启动 Oxygen XML 编辑器后,我转到工具">生成示例 XML 文件",选择我的 .xsd 文件,然后选择我的根元素(或要生成的 XML 文件类型,如果您的 .xsd 定义了多种类型)喜欢不同类型的请求或响应).
Specifically, after installing and launching Oxygen XML Editor, I went to Tools > Generate Sample XML Files, picked my .xsd file, and then selected my root element (or type of XML file to generate if your .xsd defines multiple types like different types of requests or responses).
这篇关于XMLVend 示例 XML 请求和响应?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!