Welcome!

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

Reply
Super Contributor
pg1181
Posts: 398
Registered: ‎01-12-2011
My Device: Q10
My Carrier: Fido

Does BB10 support xpath?

Hi,

 

Does anyone know if BB10 supports xpath?? And if so, can you please provide a link to some documentation or tutorials??

 

I'm parsing large XML files containing many complex types and would like to use the most efficient way possible to retrieve the data I need.

 

Thanks a lot!

Please use plain text.
Developer
YamilBracho
Posts: 713
Registered: ‎05-31-2010
My Device: 8520
My Carrier: Movistar

Re: Does BB10 support xpath?

You have to create a DataSource based in a XmlDataAccess. DataSource has a query method taht supports xPath.

Check the CallPizza sample (http://blackberry.github.io/Cascades-Samples/callapizza.html)

Please use plain text.