All, During the call, someone mentioned that JSON is inherently tree-structured while XML is not.
XML certainly seems to be hierarchical, and the popular Python XML library <https://lxml.de/tutorial.html> even calls their API "Element Tree". XML differs from JSON in that Elements have text that is distinguished from other attributes, and that collection properties (ordered and unique) are not built-in to the language as they are with JSON's array and object. But elements are strictly contained within other elements, and nesting violations are more strictly enforced than with HTML. Could someone elaborate on in what sense XML is non-hierarchical? v/r, Dave -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#4081): https://lists.spdx.org/g/Spdx-tech/message/4081 Mute This Topic: https://lists.spdx.org/mt/83564830/21656 Group Owner: [email protected] Unsubscribe: https://lists.spdx.org/g/Spdx-tech/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
