阅读xml [英] reading xml

查看:95
本文介绍了阅读xml的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何读取xml标头和值信息?

how do you read xml header and value info?

推荐答案

没有标头"和值信息".有元素,属性等等.
当然,您可以将XML读取为文本文件并以所需的方式解释它,但是遵循XML标准的方法包括使用System.Xml.XmlReaderSystem.Xml.XmlDocument,请参阅Microsoft关于这些类和用法的帮助.

看来您需要学习XML的工作原理.我建议从这里开始 http://en.wikipedia.org/wiki/XML [
There are no "header" and "value info". There are elements, attributes and more.
You can read XML as a text file and interpret it the way you want, of course, but the ways following XML standard include using System.Xml.XmlReader and System.Xml.XmlDocument, see Microsoft help on those classes and usage.

It looks like you need to learn how XML works. I would advice to start here http://en.wikipedia.org/wiki/XML[^] and follow the references of this document.

—SA


除了提供的链接- http://support.microsoft.com/kb/307548 [ ^ ].

如果您在Internet上进行搜索,将会发现更多的内容.
In addition to the links provided - http://support.microsoft.com/kb/307548[^].

You will find tons more if you do a search on the internet.


尝试

这篇关于阅读xml的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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