• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to extract XML in j2me Application

 
Rohan Kumar
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 164
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Sanjuan,
Hope this would help me.
Regards,
Rohan
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic