Join Now
Quality Rating:
  • Currently 0.0 / 5
(0.0 / 5 - 0 votes cast)
Expertise Level:
  • Currently 0.0 / 5
(0.0 / 5 - 0 votes cast)

This page was last modified 10:54, 28 November 2007.

XML Parser in Java ME

From Forum Nokia Wiki

You can use XML parsers in Java ME applications to interface with an existing XML service. For example, you could get a customized view of news on your phone from an aggregator site that summarizes headlines and story descriptions for a news site in XML format.

XML parsers tend to be bulky, with heavy run-time memory requirements. In order to adapt to the MIDP environment, XML parsers must be small to meet the resource constraints of MIDP-based devices. They should also be easily portable, with minimum effort required to port them to MIDP.

Two frequently used XML parsers for resource-constrained devices are kXML and NanoXML. kXML is written exclusively for the Java ME platform (CLDC and MIDP). As of version 1.6.8 for MIDP, NanoXML supports DOM parsing.

There is also XML parser in the Web Services API (JSR-172), which can be used instead of the above mentioned parsers, which needs to be included in every MIDlet suite trying to use them. The XML parsing package has been implemented on S60 3rd Edition devices (and newer) as well as on Series 40 3rd Edition Feature Pack 1 devices (and newer).

Helpful articles:

http://developers.sun.com/techtopics/mobility/midp/articles/parsingxml/

http://www.devx.com/xml/Article/11773

http://www-128.ibm.com/developerworks/library/wi-parsexml/

Related Discussions
Thread Thread Starter Forum Replies Last Post
Working with XML in Java ME Larry101 Mobile Java General 0 2008-03-25 07:56
SyExpat的问题,麻烦解决 wengnankai Symbian 12 2006-07-01 03:18
Problem using EAXP.lib MananW General Symbian C++ 7 2007-10-11 07:17
Problem using EAXP.lib MananW Mobile Java General 0 2006-12-08 06:05
XML library wftomas Symbian Tools & SDKs 3 2004-10-29 18:37
 
Powered by MediaWiki
     
     RDF Facets:
     
     
     qfnZtopicQUqfnTopicZjavaQ
     qfnZtypeQUqfnTypeZCommunityContentQ
     qfnZtypeQUqfnTypeZWebpageQ
     qfnZtypeQUqfnTypeZWikiContentQ
     qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX