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

27C400 27C800 27C160 TL866 Minipro Adapter For Amiga and other retro systems KIT
$8.99
27C400 27C800 27C160 TL866 Minipro Adapter For Amiga and other retro systems KIT pictureMotorola MC68030RC40 40 Mhz PGA CPU with MMU for Amiga Commodore Apple HP
$34.95
Motorola MC68030RC40 40 Mhz PGA CPU with MMU for Amiga Commodore Apple HP pictureAmiga, lávate esa cara e
$16.66
Amiga, lávate esa cara  e pictureSiemens Amiga Pocket Machine 172 For Both Ear Hearing Aid (White, Blue)
$99.1
Siemens Amiga Pocket Machine 172  For Both Ear Hearing Aid (White, Blue) pictureCSG/AMIGA 391077-01 PLCC
$14.26
CSG/AMIGA 391077-01 PLCC picture






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