(self, dbs)
Adds a list of the existing databases to the xml
Adds a list of the existing databases to the xml
Adds a list of the existing databases to the xml
def dbs(self, dbs):
        '''
        Adds a list of the existing databases to the xml
        '''
        dbsElem = self.__doc.createElement(DBS_ELEM_NAME)
        if dbs:
            for db in dbs:
                dbElem = self.__doc.createElement(DB_NAME_ELEM_NAME)
                dbsElem.appendChild(dbElem)
                dbElem.appendChild(self._createTextNode(db))
        self._addToRoot(dbsElem)
def dbs ( self , dbs ) : dbsElem = self . __doc . createElement ( DBS_ELEM_NAME ) if dbs : for db in dbs : dbElem = self . __doc . createElement ( DB_NAME_ELEM_NAME ) dbsElem . appendChild ( dbElem ) dbElem . appendChild ( self . _createTextNode ( db ) ) self . _addToRoot ( dbsElem )