android中的Dom xml解析 [英] Dom xml Parsing in android

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

问题描述

我是android开发新手,我不知道如何从xml中解析数​​据,所以请帮忙.

i am new in android development, i don't know how to parse data from xml, so please help.

这是我必须解析的 Xml.

this is my Xml which i have to parse.

 <MediaFeedRoot>
        <MediaTitle>hiiii</MediaTitle>
        <MediaDescription>hellooooo.</MediaDescription>
        <FeedPath>how r u</FeedPath>
   </MediaFeedRoot>

提前谢谢.

推荐答案

我不明白为什么人们在这里问这个问题而没有在网上正确搜索.请记住在网上搜索之前在这里提出任何问题....下面是一个链接,您可以在其中找到关于 xml 解析的非常好的教程...

I dont understand that why people ask the question here without searching properly on net.Please do remember that search on net before asking anything here.... Below is the link where you can find a very good tutorial about xml parsing...

http://www.androidpeople.com/android-xml-parsing-tutorial-%E2%80%93-using-domparser

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

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