code: def _getUniquePrefix(self):
          '''I guess we need to resolve all potential prefixes
          because when the current node is attached it copies the 
          namespaces into the parent node.
          '''
          while 1:
              self._indx += 1
              prefix = 'ns%d' %self._indx
              try:
                  self._dom.findNamespaceURI(prefix, self._getNode())
              except DOMException, ex:
                  break
          return prefif _getUniquePrefix(self):
          '''I guess we need to resolve all potential prefixes
          because when the current node is attached it copies the 
          namespaces into the parent node.
          '''
          while 1:
              self._indx += 1
              prefix = 'ns%d' %self._indx
              try:
                  self._dom.findNamespaceURI(prefix, self._getNode())
              except DOMException, ex:
                  break
          return prefix
docs: I guess we need to resolve all potential prefixes
          because when the current node is attached it copies the 
          namespaces into the parent node.