[Xpath-ng] My favorite XPath language]
Uche Ogbuji
uche.ogbuji at fourthought.com
Fri Nov 22 09:35:45 MST 2002
Me:
> Step processing in location paths happen to be the main area where sets are
> more natural in my experience (because of their natural union semantics) and
> where we temporarily move things to Python dicts for efficiency.
I want to clarify that just because sets fit the step processing puzzle piece
better than lists (in my experience), doesn't mean I think we also need a core
node set data type. I see the fact that 4XPath truly shifts to set semantics
for step processing as an implementation detail. I do think that we should be
careful to define operations such that implementations that make heavy use of
true sets internally are minimally disadvantaged. We should also consider
having functions such as uniq() that provide bridges between list and set
considerations.
--
Uche Ogbuji Fourthought, Inc.
http://uche.ogbuji.net http://4Suite.org http://fourthought.com
Tour of 4Suite - http://www.xml.com/pub/a/2002/10/16/py-xml.html
Proper XML Output in Python - http://www.xml.com/pub/a/2002/11/13/py-xml.html
RSS for Python - http://www-106.ibm.com/developerworks/webservices/library/ws-p
yth11.html
Debug XSLT on the fly - http://www-106.ibm.com/developerworks/xml/library/x-deb
ugxs.html
More information about the Xpath-ng
mailing list