--- ZSQLExtend/importFMPXML.py 2007/05/25 15:49:40 1.13 +++ ZSQLExtend/importFMPXML.py 2007/07/31 11:28:48 1.14 @@ -98,6 +98,7 @@ class xml_handler: @param options.keep_fields: (optional) don't add fields to SQL database @param options.ascii_db: (optional) assume ascii encoding in db @param options.replace_table: (optional) delete and re-insert data + @param options.backup_table: (optional) create backup of old table (breaks indices) """ # set up parser @@ -133,6 +134,7 @@ class xml_handler: logging.debug("keep_fields: "+repr(self.keep_fields)) logging.debug("ascii_db: "+repr(self.ascii_db)) logging.debug("replace_table: "+repr(self.replace_table)) + logging.debug("backup_table: "+repr(self.backup_table)) self.dbIDs = {} self.rowcnt = 0 @@ -454,7 +456,7 @@ class xml_handler: def importFMPXML(options): - """SAX handler to import FileMaker XML file (FMPXMLRESULT format) into the table. + """import FileMaker XML file (FMPXMLRESULT format) into the table. @param options: dict of options @param options.dsn: database connection string @param options.table: name of the table the xml shall be imported into @@ -466,6 +468,7 @@ def importFMPXML(options): @param options.keep_fields: (optional) don't add fields to SQL database @param options.ascii_db: (optional) assume ascii encoding in db @param options.replace_table: (optional) delete and re-insert data + @param options.backup_table: (optional) create backup of old table (breaks indices) """