J2ME中的Xml Dom解析 [英] Xml Dom Parsing in J2ME

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

问题描述

在我的J2ME应用程序中,我可以从服务器以字符串形式获取xml数据,但是我无法通过代码读取标记及其元素.请为我建议一些解决方案.

In my J2ME Application, I can get the xml data as a string from Server, but I can't be able to read the tag and its elements through code. Please suggest me some solution for it.

推荐答案

如果目标设备具有 SAX DOM.
如果没有,您可以尝试 kxml2 .在 http://www.developer.nokia.com/Community上有一个很好的介绍. /Wiki/XML_Parser_in_Java_ME

If your target device has JSR 172 you can use SAX or DOM.
If not you can try kxml2. There is a nice introduction to it at http://www.developer.nokia.com/Community/Wiki/XML_Parser_in_Java_ME

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

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