2022-05-01, 09:47
I have been wondering for a long time why xml files posted here (</> button) look if not ugly then difficult to read; specifically, why they do not observe syntax-related code folding. Until I posted my first xml file. It turns out that xml files inserted per </> do not observe code folding. In fact, you cannot even correct it per hand-editing yourself.
I am aware of the fact that xml files are machine readable irrespective of their visual code folding. But we are humans not machines. To make a xml file humanely readable you have to add line feeds & tabs where the code implies so.
In the final analysis look at the xml files shipped with Kodi. They are all visually code folded.
BTW (I am curious): How does </> insert python files, where (unlike xml files) linefeeds + tabs matter for machine readability?
I am aware of the fact that xml files are machine readable irrespective of their visual code folding. But we are humans not machines. To make a xml file humanely readable you have to add line feeds & tabs where the code implies so.
In the final analysis look at the xml files shipped with Kodi. They are all visually code folded.
BTW (I am curious): How does </> insert python files, where (unlike xml files) linefeeds + tabs matter for machine readability?