如何在C ++中从xsd文件生成示例XML? [英] How to make a sample XML from a xsd file in C++?

查看:124
本文介绍了如何在C ++中从xsd文件生成示例XML?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我可以用C ++中的.xsd文件构建一个示例xml文件吗?



我尝试了什么:



如何用C ++中的xsd文件制作样本xml?

Can I build a sample xml file from a .xsd file in C++?

What I have tried:

How to make a sample xml from a xsd file in C++?

推荐答案

当你可以使用Windows API而不是使用时 MSXML-API 。这有点乱,所以需要时间。如果不寻找其他库,因为这是一个复杂的任务,有一些陷阱。
When you can use Windows API than use the MSXML-API. It is a bit messy, so take time. If not look for some other library because it is a complex task with some pitfalls.


这篇关于如何在C ++中从xsd文件生成示例XML?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆