3 ms·
This example should that XML is decent as markup but for a configuration or data interchange format this kind of syntax is undesirable. You have text with inte
by kanox 6y ago
This example should that XML is decent as markup but for a configuration or data interchange format this kind of syntax is undesirable.
You have text with interspersed elements with the same name, how can this be represented in python other than a DOM?
- SamWhited 6y agoOne of the other benefits of XML the author mentions solves this: if you don't want it, disallow it in your schema.
- kanox 6y agoIf I disallow everything I don't want from XML I just end up with a more verbose json that is harder to work with.
- SamWhited 6y agoThat's fine, then XML wouldn't be the proper tool for you and you shouldn't be using it, but I was responding to someone saying that they didn't want a specific thing (non-text inside certain tags) which XML supports.