在VC ++ regd中编写XSD解析器. [英] Writing a XSD Parser in VC++ regd.

查看:89
本文介绍了在VC ++ regd中编写XSD解析器.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我是VC ++的新手,现在我需要使用xsd编写xml解析器.

我对此一无所知.
您能给我一个示例代码或有关如何执行的任何信息吗?

Hi,

I''m new to VC++ and now I need to write an xml parser using xsd.

I have no idea of anything about it.
Can you give me a sample code or any information about how to do it.
Any help will be greatly appretiated.

推荐答案

如果您对此一无所知,建议您首先开始学习xml和xsd,这将对您有所帮助.与他人就该主题进行交流.在此处 [ ^ ]:您必须查看XML部分,其中有一个关于xml的条目和一个关于模式(xsd)的条目.

一旦您对本主题有了更多了解,请告诉我们您需要精确执行的操作.如果只需要XML解析器,则可以使用一些轻量级的库来完成.但是我想您还必须使用xsd进行验证?您是否需要从xsd文件生成C ++类?

您从上一个海报中获得的链接很好,但这是一种商业产品,我不知道您的情况是否可以接受?
If you have no idea about anything about it, I suggest you first start to learn about xml and xsd, it will help a lot to communicate with others about the subject. There are some good tutorials here[^]: you have to look in the XML section, there is an entry about xml and an entry about schema (xsd).

Once you understood a bit more the subject, tell us what you need to do precisely. If you only need an XML parser, there are some lightweight libraries that do that. But I guess you also have to validate using the xsd ? Do you need to do generate C++ classes from your xsd file ?

The link you got from the previous poster is good, but this is a commercial product, I don''t know if this is acceptable in your case ?


请通过下面的链接获得它有关XSD解析器的所有信息.

http://wiki.codesynthesis.com/XSD
Please go through below link it has all info about XSD Parser.

http://wiki.codesynthesis.com/XSD


这篇关于在VC ++ regd中编写XSD解析器.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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