> Xpath queries with side-effects to a DOM tree ?
Umm. No. When did I say that? It's meaningless. XPath is read-only.
> Please don't even mention it
> :-)
> As a developer I'd prefer text-normalizing the DOM tree before applying an
> Xpath query.
This is pretty much what I was saying: the DOM binding to XPath would do the
normalization and other mutation. Not XPath itself, of course. Mind you,
there is more to the mutation than just text normalization: there is entity
reference flattening, notation and doctype node elimination, attribute child
node elimination, etc. I hope you're not saying you'd want to do all this by
hand, "As a developer"?
--
Uche Ogbuji Fourthought, Inc.
http://uche.ogbuji.nethttp://4Suite.orghttp://fourthought.com
Track chair, XML/Web Services One Boston: http://www.xmlconference.com/
The many heads of XML modeling - http://adtmag.com/article.asp?id=6393
Will XML live up to its promise? - http://www-106.ibm.com/developerworks/xml/li
brary/x-think11.html