[racket] comments requested from users of SXML and PLT xexprs

From: Noel Welsh (noelwelsh at gmail.com)
Date: Thu Dec 23 10:27:39 EST 2010

On Thu, Dec 23, 2010 at 2:33 PM, Neil Van Dyke <neil at neilvandyke.org> wrote:
> * While you can get away with this kludge with HTML, you can't with
> arbitrary XML.  I'm seeing a lot of XML processing in practice lately, in
> protocols and data interchange, and have to do similar building of XML as I
> do HTML.

Agreed. The approach doesn't work here.

> * What about in an attribute list context?  It's the same problem as with
> element content context, but you can't add an HTML parent element to kludge
> a splice of multiple attributes.

In Lift you'd match on the enclosing tag and then replace the
attributes you were interested in while keeping others the same.

I think the Lift guys would agree this is a web specific solution.

N.


Posted on the users mailing list.