This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Java Micro Edition and the fly likes How to extract XML in j2me Application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "How to extract XML in j2me Application" Watch "How to extract XML in j2me Application" New topic
Author

How to extract XML in j2me Application

Rohan Kumar
Greenhorn

Joined: Jul 27, 2002
Posts: 9
Hi All,
I am making an application in j2me which interact with java servlets using HTTP connectivity given in j2me to send or receive data.
I want to use xml for this data communication.
Now the problem is how can i extract the xml data or create a request in the for of xml from a j2me application .
would highly appreciate if someone can provide an example for same.
regards,
Rohan
a sanjuan
Ranch Hand

Joined: Jun 12, 2002
Posts: 164
you wanna use xml parsers for parsing any incoming xml:
here's an article that might be useful:
http://wireless.java.sun.com/midp/articles/parsingxml/
there is an exciting jsr as well that will come out with an optional package that will standardize this:
http://www.jcp.org/en/jsr/detail?id=172
* you can download the proposed API from the page above

[ March 10, 2003: Message edited by: a sanjuan ]
[ March 10, 2003: Message edited by: a sanjuan ]
Rohan Kumar
Greenhorn

Joined: Jul 27, 2002
Posts: 9
Thanks Sanjuan,
Hope this would help me.
Regards,
Rohan
 
GeeCON Prague 2014
 
subject: How to extract XML in j2me Application