version 1.9, 2007/04/02 09:48:13
|
version 1.10, 2007/04/05 14:20:08
|
Line 510 if __name__ == "__main__":
|
Line 510 if __name__ == "__main__":
|
format='%(asctime)s %(levelname)s %(message)s', |
format='%(asctime)s %(levelname)s %(message)s', |
datefmt='%H:%M:%S') |
datefmt='%H:%M:%S') |
|
|
importFMPXML(options) |
|
|
|
def importFMPXML(options): |
def importFMPXML(options): |
"""SAX handler to import FileMaker XML file (FMPXMLRESULT format) into the table. |
"""SAX handler to import FileMaker XML file (FMPXMLRESULT format) into the table. |
Line 526 def importFMPXML(options):
|
Line 525 def importFMPXML(options):
|
@param options.ascii_db: (optional) assume ascii encoding in db |
@param options.ascii_db: (optional) assume ascii encoding in db |
@param options.replace_table: (optional) delete and re-insert data |
@param options.replace_table: (optional) delete and re-insert data |
""" |
""" |
update_fields = None |
|
|
|
if getattr(options,'update_fields',None): |
if getattr(options,'update_fields',None): |
uf = {} |
uf = {} |