Lists Home |
Date Index |
> 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.net http://4Suite.org http://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