Kodi Community Forum

Full Version: XML formatting "error".. and even a bug?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi all

This works:
Code:
<item>
<label>foo</label>
</item>

This doesn't (on some tags anyways):
Code:
<item label="foo"/>

Luckily this does, but it is ugly:
Code:
<item label="foo"> random unused text here or the syntax reader will ignore this item </item>

Reason for bitching is I am making a rather long fixed list of items and having oneliners improves readability by miles.

I think it should work with the "quick" tag ending all over?

Edit: SIGH.. Seems a label such as "$INFO[Window(Home).Property(PARAMNAME)]" is only updated ONCE if passed "on the inside".. So, back to even more fuglyness:
Code:
<item..
<label...
</item>

Goodbye readablity..
So if we have reached the day that the we have nothing else but readability of static list items to complain about, then I might retire now. Smile
Hahaha.. point taken. Its just incosistant. And there is plenty more whinning. Dont worry! ..and dont retire yet! :-D