Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Posts: 180
Registered: ‎12-09-2011
My Device: 9360, BB10
My Carrier: Aircel

Parse local xml file in qml.

Hi All


I want to parse the xml file which i store in my assets folder and want to show the data in list, i tried this using datasource but it is not working.

Can somebody please provide code for this.

My xml is in this format:


<CountryListResponse xmlns="......">
<Languages i:nil="true"/>

<Languages i:nil="true"/>


Plese someone provide the code to parse this xml and bind it into list.


Thanks in advance.

Trusted Contributor
Posts: 207
Registered: ‎05-02-2010
My Device: various
My Carrier: AT&T

Re: Parse local xml file in qml.



This should get you on the right track.

If you are the original poster (OP) and your issue is solved, please remember to click the "Accept as Solution" button so that others can more easily find it. If anyone has been helpful to you, please show your appreciation by clicking the Star on the left of their post.