Forum Discussion
TheEndless
9 years agoRoku Guru
"pixshatterer" wrote:
I already tried, but it didn't work 😕 so I went looking around if escaping quotes would work and it did, so this was the solution:<MyComp
id="comp"
messages="["hi","hello","world","none"]"
/>
... which looks awful, but so far looks like the only way :v
Eep! Try flipping the quotes...
<MyComp
id="comp"
messages='["hi", "hello", "world", "none"]'
/>
XML supports single and double quotes interchangeably when wrapping attribute values. Apparently the Roku SceneGraph parser doesn't...