02-24-2009 07:47 AM
I have to parse an xml string and want to use org.w3c.dom in my J2ME code.
I am not able to access classes and am getting exception.
I see the same classes being used in XMLDemo in the samples provided
can anybody please guide me how to import/include classes under org.w3c.dom into my code
02-24-2009 08:09 AM
Where have you tried to run the application? What exception you got.
If you are running the application on BB device it should not be any problem.
02-24-2009 08:35 AM - edited 02-24-2009 08:35 AM
02-24-2009 09:15 AM
Thanks for a quick response.
The xmldemo sample is executing fine
I tried to copy the same package and classes in my Application
I am getting the following error
TaskDetailsScreen.java:191: cannot resolve symbol
symbol : class DocumentBuilderFactory
location: package dom
org.w3c.dom.DocumentBuilderFactory factory =
I am using JDE 4.2 for application development and the app is pointing to net_rim_api.jar library.
Please let me know if I am missing out anything