Forum Discussion

lock_4815162342's avatar
lock_4815162342
Channel Surfer
12 years ago

How are child/categoryLeaf(s) in XML being parsed?

I don't understand how the child tags are parsed in the videoPlayer example code.

I am modifying the example to use a roGrid and am trying to parse the information from my XML file to set the content of the grid.

How is the XML being parsed?

How do I point to different levels of the XML?

Can I use the the existing parse in the videoPlayer example for my roGrid or does the parse code need to be modified?

Any information no matter how small is appreciated. Thank you for reading this and thank you for your help.

1 Reply

  • Did you look at the Function ParseCategoryNode in the categoryfeed.brs file?
    And the Function parse_show_feed in showFeed.brs?
    That's where I would start experimenting, i hope this helps.