Author: fschulze Date: Wed Nov 16 09:41:37 2005 New Revision: 1825 Added: azax/trunk/config.py Modified: azax/trunk/azaxresponse.py Log: Added config.py to enable selection of different xml libraries with the ElementTree API.
Modified: azax/trunk/azaxresponse.py ============================================================================== --- azax/trunk/azaxresponse.py (original) +++ azax/trunk/azaxresponse.py Wed Nov 16 09:41:37 2005 @@ -23,7 +23,7 @@ from zope.interface import implements from interfaces import IAzaxResponse -from lxml import etree +from config import etree class AzaxSelector: """ azax selector Added: azax/trunk/config.py ============================================================================== --- (empty file) +++ azax/trunk/config.py Wed Nov 16 09:41:37 2005 @@ -0,0 +1,5 @@ +# we use lxml for all the XML stuff for speed, but you can also use +# ElemenTree or maybe even cElementTree + +from lxml import etree +#from elementtree import ElementTree as etree -- http://lists.nuxeo.com/mailman/listinfo/z3lab-checkins