ó Aìm>c@sídZddlZddlZddlZddlZddlmZmZddlm Z ddl m Z ddl m Z mZiadZZd„Zd„Zd „Zd „Zddd „Zd „Zd „Zd„Zd„ZdS(sð General Utilities for XPath apps. WWW: http://4suite.org/4XSLT e-mail: support@4suite.org Copyright (c) 2000-2001 Fourthought Inc, USA. All Rights Reserved. See http://4suite.org/COPYRIGHT for license and copyright information iÿÿÿÿN(t XML_NAMESPACEtEMPTY_NAMESPACE(tNode(t NodeFilter(tg_xpathRecognizedNodestCompilecCs˜g}|j}|jtdfƒp6|jtdfƒ}|o]|j|ko]|j|jƒx3td„|jƒD]}|jt ||ƒƒqtW|S(NtidtIDcSs|jtjkS(N(tnodeTypeRt ELEMENT_NODE(tnode((s@/opt/freeware/lib/python2.7/site-packages/_xmlplus/xpath/Util.pyts( t attributestgetRtvaluetappendt ownerElementtfiltert childNodestextendt ElementsById(telementtnametelementstattrstidattr((s@/opt/freeware/lib/python2.7/site-packages/_xmlplus/xpath/Util.pyRs *% cCsEtjt|ƒƒrdSi}t|d|ƒ}|tt|ƒ s"$