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: 
sparkerman
Visitor

Loading XML from package

I'm trying to modify Roku's TaskExample project by using the XML file in the project's source folder instead of loading it off a server. The following modifications doesn't seem to load the XML correctly:
m.readXMLContentTask.contenturi = "pkg:/source/xmlcontent.xml"
Does anyone know how to correct this so that the XML will load?

Thanks!
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.