| ▲ | scotty79 7 hours ago | ||||||||||||||||
How awesome would XML be if it didn't have attributes, namespaces and could close elements with </> | |||||||||||||||||
| ▲ | Linux-Fan 6 hours ago | parent | next [-] | ||||||||||||||||
Another way to make XML awesome (especially for config files and the like) is to completely avoid CDATA i.e. no <config><key>value</key><key2>value2</key2></config> but rather: <config key="value" key2="value2"/> -- simple constructions can then do with just a root element. Of course this pattern only pays off if you need the XML parser for other parts of the application, too... | |||||||||||||||||
| ▲ | panzi 6 hours ago | parent | prev [-] | ||||||||||||||||
Without namespaces it would be just ML, and that already has another meaning. | |||||||||||||||||
| |||||||||||||||||