ivz_chennai
Visitor

How to parsing the sub category xml file?

Single category can be read by the categoryfeed.brs and it shown by the showfeed.brs file in the video player example.How do it with sub category xml files.?

Example:

I have the following xml structure:

Main category:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<categories>
<category title="Stream on demand" description="Stream on demand" sd_img="hdimg.png" hd_img="sdimg.png">
<categoryLeaf title="Genre" description="" feed="genre.xml" />
</category>
</categories>


Sub category(genre.xml 😞

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<categories>
<category title="Genre" description="Genre" sd_img="hd_img.png" hd_img="sd_img.png">
<categoryLeaf title="Action" description="" feed="action.xml" />
<categoryLeaf title="Comedy" description="" feed="comedy.xml" />
</category>
</categories>
Tags (1)
0 Kudos
Community is Temporarily in Read-Only Mode!

We’re upgrading Roku Community to bring you a faster, more mobile-friendly experience. You may notice limited functionality or read-only access during this time. You will not be able to log in or post new comments or kudos during this time. Read more here.

Planned Downtime:
Community will be unavailable for up to 24–48 hours during the upgrade window during the week of May 12 and you may notice reduced functionality. In the meantime, for additional assistance, visit our Support Site.

Thanks for your patience — we’re excited to share what’s next!