This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan 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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to extract XML in j2me Application
 
Similar Threads
Extracting namespaces from an XML doc
Using certificate in mobile app
how to use data on access in j2me?
Getting data from a webpage
Parse XML File Using Java