Help coderanch get a
new server
by contributing to the fundraiser
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How to extract XML in j2me Application

 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 164
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Sanjuan,
Hope this would help me.
Regards,
Rohan
 
We can fix it! We just need some baling wire, some WD-40, a bit of duct tape and this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/t/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic