XML Parsing Producing error while the app is turned to a native app.

Hi,

I am developing a simple application which unfortunately for me needs access to database. While the app works perfectly while running through url, it does not work when used as an iphone app. The problem is the xml parsing is not taking place properly.

Is there any way around this? I just need to compare details from database. Kindly help. All the screens are done and now only thing pending is filling up the screens with data fetched from database through xmls.

I am just using Sencha touch 2. I am new to sencha and i am not sure whether i can use any of other products along with this.

The problem with my app is that when i run through browser it works fine.

But when i convert it to a native app(iphone app using xcode build), the app doesnt work. I have searched through code one line after another and then found that the code stops responding in the xml parsing part. And i am assuming when the app is converted to native app to run in a browser, the database connectivity fails.

Is there any way that i can get the database connection when the app is made to a native app.