OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: [xml-dev] Question for the XPath and DOM folks

[ Lists Home | Date Index | Thread 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
brary/x-think11.html






 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS