BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 05-18-2009, 07:14 AM   #1 (permalink)
Knows Where the Search Button Is
 
Join Date: Apr 2009
Model: 8100
PIN: N/A
Carrier: vodafone
Posts: 33
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Better approach for creating XML files

Please Login to Remove!

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
Offline  
Old 05-25-2009, 01:56 AM   #2 (permalink)
Knows Where the Search Button Is
 
Join Date: Apr 2009
Model: 8100
PIN: N/A
Carrier: vodafone
Posts: 33
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

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
Offline  
Old 05-29-2009, 05:44 AM   #3 (permalink)
New Member
 
jasonsteel's Avatar
 
Join Date: Dec 2007
Location: Santa Barbara, CA
Model: 8320
PIN: N/A
Carrier: T-Mobile
Posts: 4
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by itsteju View Post
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?
Offline  
Old 06-01-2009, 07:40 AM   #4 (permalink)
Knows Where the Search Button Is
 
Join Date: Apr 2009
Model: 8100
PIN: N/A
Carrier: vodafone
Posts: 33
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

I used org.w3c.dom
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





Copyright 2004-2014 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.