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

New Developer
Posts: 15
Registered: ‎02-12-2013
My Device: Bold 9900 - Z10 LE - DAC - Playbook

ListView - ListItemComponent - XML - Data



there are a lot of examples showing a ListView based on a XML DataModel in your QML file, but ...


  1. what if you were interested in the content/body of a tag, and NOT the value of an attribute
    • for example: <tag1 id="123">456</tag1>
    • i don't want/need the output 123 (using ListItemData.id)
    • i do need to visualize 456
  2. what if you didn't have a "flat" XML document containing 1 root with multiple children, BUT an hierarchical XML document: can we traverse the family top-down? Using a dotted notation?


Any ideas, same problems, ...



Prompter: BlackBerry World - Built for BlackBerry™
Prompter4Q: BlackBerry World - Built for BlackBerry™