Xml Dom Parsing in J2ME

谁说我不能喝 提交于 2019-12-12 00:21:59

问题


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.


回答1:


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



来源:https://stackoverflow.com/questions/12858576/xml-dom-parsing-in-j2me

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!