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

suggestion for v30/bslCore.brs library

It would be great if the bslCore.brs library had a built-in method for decoding html entities like & or numeric entities like <. If a developer is using a xml feed to generate their channel's contents then it will most likely contain a few html entities. As far as I know there isn't a way to decode those entities using a native BrightScript function or library. You can use this script to decode any html entity including hex entities. Any chance that a similar set of functions could be included in a future version of the bslCore library?
0 Kudos
2 REPLIES 2
philotas
Roku Guru

Re: suggestion for v30/bslCore.brs library

I know this is old, but I am looking for that linked file, because I also need to convert HTML entities.
0 Kudos
EnTerr
Roku Guru

Re: suggestion for v30/bslCore.brs library

This has already been answered by the addition of roXmlElement component to the API.
If you have a corner case, please consider the two ideas from this thread you also woke up from five-year slumber 🙂
0 Kudos