4 ms·
Principles of XML design: When to use elements versus attributes
- kowsik 18y agoI can say only one thing: Switch to JSON. It's readable, you don't have to decide between attribute values and text and you get to save a (*)#$ of bytes. XML is so passe'.
- tomjen 18y agoThat depends on what you use it for - yaml may also be appropriate for configuration files.
- ubernostrum 18y agoAnswered in section 4: http://www.flightlab.com/~joe/sgml/faq-not.txt http://www.flightlab.com/~joe/sgml/faq-not.txt