I think the problem isn't quite that simple, because most of the issues with #XML are representational.
Consider #SXML-like equivalents for #MathML https://en.wikipedia.org/wiki/MathML#Content_MathML
A Plist is even shorter and simpler a representation than JSON objects.
#json #xml #SXML #mathml #sexp #sexpressions
A lot of time and energy for learning to use #sxml and #SXPath! I used the Racket docs to get examples from #OlegKiselyov's talks and from a w3schools tutorial to work. If I knew of a good way to share them I'd try. Seeing more sxpath examples might have saved me some time. I still can't get the low-level node-** stuff back into short-cut sxpath as I imagine I should. Shared the right way...
#Racket #Xpath
- https://docs.racket-lang.org/sxml/sxpath.html
- https://okmij.org/ftp/Scheme/SXML-short-paper.html
- https://www.w3schools.com/xml/xpath_examples.asp
#xpath #racket #OlegKiselyov #SXPath #SXML