XML is one of the few markup languages that can actually represent objects without losing integrity. The issue is that its syntax is often abused to try to make it "elegant".
My perspective is that the goal of JSX isn't to make XML "elegant" but to offer a way to dynamically build more complex trees and even DAGs programmatically. Best of both worlds between declarative and easy to read, and expressive via dropping into plain JS.
(I'm Evan - the founder of GenSX, and always open to feedback if you have any!)
(I'm Evan - the founder of GenSX, and always open to feedback if you have any!)