New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
iOS Development Discussion on developing apps for the iOS platform.

Need help in displaying xml in table view


Post Reply New Thread Subscribe

 
Thread Tools
armancapistrano

 
Member Since: Jan 22, 2013
Posts: 1
armancapistrano is on a distinguished road

armancapistrano is offline
I'm currently developing an app for a company. It would display all their subsidiaries in a certain country. But i'm having problems when there are 2 or more subsidiaries in one country i am just able to display one subsidiary.

here is my xml

<?xml version="1.0" encoding="UTF-8"?>
<countries>
<country>
<countryname>Philippines</countryname>
<subsidiaries>
<subsidiary>
<name id = "1">Sartorius Philippines Inc.</name>
<address>Unit 20-A The World Centre Building, 330 Senator Gil Puyat Avenue Makati 1209 City Philippines, Philippines</address>
<phone>+63.2.8640.929</phone>
<fax>+63.28640.932</fax>
<email>enquiry.philippines@sartorius.com</email>
<website>http://www.sartorius-mechatronics.com.ph</website>
</subsidiary>
</subsidiaries>
</country>
<country>
<countryname>Denmark</countryname>
<subsidiaries>
<subsidiary>
<name>Sartorius Stedim Nordic A|S</name>
<address>stedim Hoerskaetten 6d 2630 Taastrup, Denmark</address>
<phone>+45.7023.4400</phone>
<fax>+45.4630.4030</fax>
<email>ne.customersupport@sartorius.com</email>
<website></website>
</subsidiary>
<subsidiary>
<name>Sartorius Nordic A|S</name>
<address>Hoerskaetten 6D 2630 Taastrup, Denmark</address>
<phone>+45.7023.4400</phone>
<fax>+45.4630.4030</fax>
<email>ne.customersupport@sartorius.com</email>
<website></website>
</subsidiary>
</subsidiaries>
</country>
</countries>

as you can see in the country denmark, there are 2 subsidiaries. but when i display it on table view it only shows the last subsidiary, does anyone know how to deal with this? I want to display both of the subsidiary when i choose denmark
QUOTE Thanks

Post Reply New Thread Subscribe


« Need help choosing Macbook | Payment Processing Using PaymentExpress GateWay in iphone »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Finder won't start laurag OS X - Operating System 5 04-13-2012 05:46 PM
select multiple row in table view diyora OS X - Development and Darwin 0 09-04-2008 05:19 AM

All times are GMT -4. The time now is 10:27 AM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?