Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
lock_4815162342
Channel Surfer

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.
0 Kudos
1 REPLY 1
joetesta
Roku Guru

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

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.
aspiring
0 Kudos
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.