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
Developer
matizeitune
Posts: 366
Registered: ‎07-15-2013
My Device: blackberry Z10
Accepted Solution

XML, working with label <content:encoded>

[ Edited ]

Hi all, I have a problem a few days ago, I want to show the description of an xml in my application, but that description, is on a label called <content:encoded>, how could call this label to show in my app?
this is the xml: http://www.universoderecetas.com.ar/feed/

 

PD: when I say this I mean call

var chosenItem = dataModel.data(indexPath)
pagina.nombreIngresado = chosenItem.content/ /here is where i dont know what put for the content

nav.push(pagina)

 

Thanks

If you find this information useful please click like --->
@mezeitune on twitter
Developer
matizeitune
Posts: 366
Registered: ‎07-15-2013
My Device: blackberry Z10

Re: XML, working with label <content:encoded>

please someone help me , i really need this

If you find this information useful please click like --->
@mezeitune on twitter
BlackBerry Development Advisor
IsaacGordezky
Posts: 57
Registered: ‎10-04-2012
My Device: developer

Re: XML, working with label <content:encoded>

A QVariantMap exposed to javascript allows accessing members using the a.b syntax, or by using the a["b"] synax.

 

chosenItem["content:encoded"]

Developer
matizeitune
Posts: 366
Registered: ‎07-15-2013
My Device: blackberry Z10

Re: XML, working with label <content:encoded>

thank you very much, your answer was served

If you find this information useful please click like --->
@mezeitune on twitter