BlackBerry Forums Support Community

BlackBerry Forums Support Community (http://www.blackberryforums.com/)
-   Developer Forum (http://www.blackberryforums.com/developer-forum/)
-   -   Better approach for creating XML files (http://www.blackberryforums.com/developer-forum/190460-better-approach-creating-xml-files.html)

itsteju 05-18-2009 07:14 AM

Better approach for creating XML files
 
Hi there,
I am facing a problem,
I have created XML file,but I can't view it/output it.

Can anyone please suggest what is better way of creating xml files?
1) create xml with DocumentBuilderFactory and then parse it Or
2) manually create hardcoded xml and save it on sd card and then access it for parsing.

I have continuosly varying text data in xml files.
Which approach will suite me most?

Please Help.

Thanks

itsteju 05-25-2009 01:56 AM

I will answer my own question here...
I just resolved this issue.
Using statndard api provided by RIm makes working with xml easier...
I used those to solve the issue...and I sticked with point (1) above
:)

jasonsteel 05-29-2009 05:44 AM

Quote:

Originally Posted by itsteju (Post 1391019)
I will answer my own question here...
I just resolved this issue.
Using statndard api provided by RIm makes working with xml easier...
I used those to solve the issue...and I sticked with point (1) above
:)


What RIM package did you use to create XML files? And would you mind posting a short write up about it?

itsteju 06-01-2009 07:40 AM

I used org.w3c.dom


All times are GMT -5. The time now is 12:57 PM.

Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.