I'm trying to parse a simple xml file in my j2me application. But the parsing fails.
Anyone an idea, what I'm doing wrong?
Thanks,
rAyt
XML File
<companies>
<company CompanyId="6">
<CompanyName>Test Company 1</CompanyName>
<SapNumber>0</SapNumber>
<RootCompanyId>1</RootCompanyId>
...
I'm trying to implement an existing XML parser: kXML.
I ran into the following error:
java.lang.NoClassDefFoundError: org/xmlpull/v1/XmlPullParserException
at com.sun.midp.midlet.MIDletState.createMIDlet(+29)
at com.sun.midp.midlet.Scheduler.schedule(+52)
at com.sun.midp.main.Main.runLocalClass(+28)
at com.sun.midp.main.Main.main(...
kXML is an alternative XML parser I chose to use for JavaME apps.
The XML file to be editted is inside the mobile app's own JAR.
I'm using CLDC profile.
Please help
...
Hello,
How can I access the value for each attribute? can anyone show me? Below I have xml file and code which executes ok starting from the root to each element.
/*
<?xml version="1.0" ?>
- <catalog>
- <title>
<name>xyz</name>
<description>xyz Fundamentals</description>
<author>Jason</author>
<ratin...