ivz_chennai
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā05-18-2014
09:55 PM
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>
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>