|
|
|
|
|
by neilv
1084 days ago
|
|
Instead of that `xml` library and format, many people use the SXML format defined by Oleg Kiselyov: https://docs.racket-lang.org/sxml-intro/ SXML became the de facto standard in the Scheme community after Oleg and others developed some powerful libraries for it, starting with Oleg's SSAX parser. SXML is also better-suited to efficient manipulation of large HTML/XML when using immutable lists. Also, if you're looking at code examples in TFA, and thinking that, even when composing HTML using lists rather than strings, it's still susceptible to injection programming errors, then one SXML-ish improvement is: https://docs.racket-lang.org/html-template/ https://docs.racket-lang.org/rws-html-template/ |
|
To your point though - sxml is fantastic.