I do however want to write a dialect of it, though mostly for the sake of naming it 'Lithp'.
https://docs.racket-lang.org/sxml/SXML.html
more examples: https://docs.racket-lang.org/sxml/ssax.html
and then you can manipulate your sxml with https://docs.racket-lang.org/reference/match.html