Kodi Community Forum
HELP! Why isnt this validating? - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Skinning (https://forum.kodi.tv/forumdisplay.php?fid=12)
+--- Thread: HELP! Why isnt this validating? (/showthread.php?tid=94256)



HELP! Why isnt this validating? - igotdvds - 2011-02-15

This code will not validate in notepad++

Code:
<visible>!StringCompare(ListItem.label,My Instant Queue - All) + !StringCompare(ListItem.label,My Instant Queue - Movies) + !StringCompare(ListItem.label,My Instant Queue - TV Shows) + !StringCompare(ListItem.label,Recommended (Filtered for Instant Watch)) + !StringCompare(ListItem.label,Top 25 New Movies & Shows) + !StringCompare(ListItem.label,All New Movies & Shows) + !StringCompare(ListItem.label,Search...)</visible>



- Jezz_X - 2011-02-15

"New Movies & Shows" maybe, might need to be "New Movies &amp; Shows" because & is not really a valid xml string because its a condition like == and <=


- igotdvds - 2011-02-15

Jezz_X Wrote:"New Movies & Shows" maybe, might need to be "New Movies &amp; Shows" because & is not really a valid xml string because its a condition like == and <=

Thanks Jezz.


- Jezz_X - 2011-02-15

So that was the reason ? I just took a guess


- igotdvds - 2011-02-15

Jezz_X Wrote:So that was the reason ? I just took a guess

Yep, I never thought of that. I should have realized it, I got the error using scripts to. Oo