[racket] sxml vs xexprs

From: John Clements (clements at brinckerhoff.org)
Date: Sat Feb 19 12:59:45 EST 2011

I think this is mostly a question for Neil...

What are the advantages and disadvantages of SXML vs. xexprs? I've googled for this, but none of the high-ranked hits attempt to actually catalog their relative virtues.

Here's what I can come up with:

namespaces : xexprs don't handle namespaces, right? 

web-server support: Jay's recent changes make the web-server relatively representation agnostic, but the built-in methods are there for xexprs and not for SXML

parsing : I get the sense that the SXML parser is way more general, but it's not clear to me when this is useful.

serialization : I think that SXML serialization produces better results...

entity support: they support it in different ways, right?

representation choices: the SXML choice (@ for attrs) seems less error-prone, though the choice of '@' is really unfortunate when I want to abstract using the 'at-exp' languages.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4669 bytes
Desc: not available
URL: <http://lists.racket-lang.org/users/archive/attachments/20110219/96e9bba0/attachment.p7s>

Posted on the users mailing list.