BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 06-03-2011, 03:53 AM   #1 (permalink)
New Member
 
Join Date: Jun 2011
Model: 9530
PIN: N/A
Carrier: analyst
Posts: 8
Post Thanks: 2
Thanked 0 Times in 0 Posts
Unhappy [HELP] ListField from XML

Please Login to Remove!

hello everyone,

I have a problem.
I have to make a listfield that contains student's names from xml file that stored at h*tp://localhost/xml/student.xml

I think, i have to use HttpConnection to get data from xml and use DocumentBuilder to parse the xml.
But I feel very confuse to implement those.

the example of listfield on screen like this:

Ahmad
Salman

When I click a name (in this case is Salman), so new screen will appear with the detail of the student.

the example of output:

Student Number: 51
Name: Salman
Address: India
Major: Physics


here is the xml file

Code:
<?xml version="1.0"?>
<students>
	<student>
	  <id>50</id>
	  <name>Ahmad</name>
	  <address>Pakistan</address>
	  <major>Management</major>
	</student>
	<student>
	  <id>51</id>
	  <name>Salman</name>
	  <address>India</address>
	  <major>Physics</major>
	</student>
</students>
does anybody can help me?

Last edited by slametsugih : 06-03-2011 at 03:55 AM. Reason: typo
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

Similar Threads for: [HELP] ListField from XML
Thread Thread Starter Forum Replies Last Post
XML app Sven_Bio Developer Forum 2 02-24-2009 09:07 AM
ListField scrolling swarsa Developer Forum 5 12-30-2008 07:53 AM
Problem viewing XML attachments ChuNu BES Admin Corner 4 12-11-2007 04:11 PM
new screen -> listField Problem hibbert Developer Forum 7 12-05-2007 02:35 AM
Groupwise BES4.01 GWXMLData::Read(1) UNKNOWN XML NODENAME! bibi BES Admin Corner 4 05-07-2006 09:13 PM

PIC POSITIONING STAGE FOR SEMICONDUCTOR ROBOTICS OR OPTICS AS IS BIN#E1-21-1
$49.0
PIC POSITIONING STAGE FOR SEMICONDUCTOR ROBOTICS OR OPTICS AS IS BIN#E1-21-1 picture Lot of 4 LH0024CH National Semiconductor L0024CH High Slew Rate OP AMP
$9.95
 Lot of 4 LH0024CH National Semiconductor L0024CH High Slew Rate OP AMP pictureVINTAGE SEMICONDUCTOR MASK ALPHASIL ?? PART AS IS BIN#K5-90
$49.0
VINTAGE SEMICONDUCTOR MASK ALPHASIL ?? PART AS IS BIN#K5-90 pictureVINTAGE SEMICONDUCTOR MASK ALPHASIL ?? PART AS IS BIN#K5-92
$49.0
VINTAGE SEMICONDUCTOR MASK ALPHASIL ?? PART AS IS BIN#K5-92 pictureTHE SEMICONDUCTOR DATA BOOK, MOTOROLA INC., 1968, 3RD EDITION,~~1400 PAGES
$2.85
THE SEMICONDUCTOR DATA BOOK, MOTOROLA INC., 1968, 3RD EDITION,~~1400 PAGES picture






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