[racket] XML library: representing CDATA

From: Neil Van Dyke (neil at neilvandyke.org)
Date: Tue Jan 3 18:09:02 EST 2012

I don't know what the *stock* XML parsing does, but I have used Oleg 
Kiselyov's SSAX parser a lot in Racket-based production apps, and it 
does handle CDATA.

Oleg spent a lot of time on XML, including learning things about it that 
its designers might not have known, and the SSAX parser has handled 
every case of valid XML that I've thrown at it so far.

You can read about SSAX, and the SXML format it uses, at:
http://okmij.org/ftp/Scheme/xml.html

You can use this PLaneT package to get SSAX, but see the above URL for 
documentation:
http://planet.racket-lang.org/display.ss?package=ssax.plt&owner=lizorkin

I'm in the process of trying to straighten out the confusion around 
SXML-related tools and how to use them with Racket, by temporarily 
adding more confusion...
http://www.neilvandyke.org/racket-xexp/

-- 
http://www.neilvandyke.org/



Posted on the users mailing list.