Xml Dom Parsing in J2ME
-
07-07-2021 - |
Pregunta
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.
Solución
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
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow