<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<body bgcolor="#ffffff" text="#000000">
Noel Welsh wrote at 12/23/2010 10:27 AM:<br>
<pre wrap="">* 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.<br>
<pre wrap="">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.<br>
Thanks, I will look into this Lift thing, to see how our stuff compares
and what we can learn from them.<br>
<div class="moz-signature">-- <br>
<a class="moz-txt-link-freetext" href="http://www.neilvandyke.org/">http://www.neilvandyke.org/</a>