Linux Today: Linux News On Internet Time.
Search Linux Today
Linux News Sections:  Developer -  High Performance -  Infrastructure -  IT Management -  Security -  Storage -
Linux Today Navigation
LT Home
Contribute
Contribute
Link to Us
Linux Jobs


More on LinuxToday


developerWorks: Add XML Parsing to Your J2ME Applications

Sep 24, 2003, 05:30 (0 Talkback[s])
(Other stories by Soma Ghosh)

"The fusion of Java and XML technologies creates the powerful combination of portable code and portable data. But where does the Java 2 Platform, Micro Edition (J2ME) fit in? In this article, I'll show some of the progress that has been made in cutting XML parsers down to a size suited to J2ME applications and limited-resource platforms. I'll use the kXML package to write an application for the MIDP profile that can parse an XML document. But first, I'll take a look at the world of XML parsers, and find out some of the reasons why they've been slow to move to the J2ME platform.

"An XML processing model describes the steps an application should take to process XML; an application that implements such a model is called an XML parser. You can integrate an XML parser into your Java applications with the Java API for XML Processing (JAXP). JAXP allows applications to parse and transform XML documents using an API that is independent of any particular XML processor implementation. Through a plug-in scheme, developers can change XML processor implementations without altering their applications..."

Complete Story

Related Stories: