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 ]

> Well a very interesting point, IMHO if you use Xpath to query a DOM tree you
> can obtain
> a) A Xpath nodeset unrelated to the DOM tree
> b) References to DOM nodes as the nodeset
> 
> If a) No problem except that you can't use the result of an Xpath query to
> modify a DOM tree.
> If b) then the Xpath processor is not Xpath is a sort-of xpathForDom but as
> we see it can't
> be a compliant Xpath processor.
> 
> I might be confused or wrong so I'll wait for an authoritative answer.

No, you are exactly right.

I suppose it depends on what the meaning of "XPath" is.  If it's the spec 
given at

http://www.w3.org/TR/xpath 

Than there can only be one answer to Dare's question, which is what I gave.

I must be missing something, myself.


-- 
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