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

From: Neil Van Dyke (neil at neilvandyke.org)
Date: Thu Dec 23 10:46:14 EST 2010

Noel Welsh wrote at 12/23/2010 10:27 AM:
>> * 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.
>   

Sounds like mutable, or copying the entire tree for a transform?  I'm 
trying to avoid mutable objects, for the usual reasons, and copying can 
be expensive as the XML/HTML gets large and you're, say, trying to serve 
many requests at once.

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

HTML-specific?  I have a Racket-based Web app in production that does 
lots of non-HTML XML on the server side -- for serving and using Web 
services, in multiple XML applications (not just SOAP-based).  XML is 
often part of doing Web development.  There were actually times in the 
last couple years that I found that I needed to do something in XML, and 
my pertinent XML tools were not as good as my HTML-specific tools, so 
I'm trying to avoid that situation again.

Thanks, I will look into this Lift thing, to see how our stuff compares 
and what we can learn from them.

-- 
http://www.neilvandyke.org/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20101223/0079bca2/attachment.html>

Posted on the users mailing list.