File:  [Repository] / FM2SQL / doc / fm2sql.dtd
Revision 1.1: download - view: text, annotated - select for diffs - revision graph
Mon Oct 2 19:47:29 2006 UTC (17 years, 9 months ago) by casties
Branches: MAIN
CVS tags: HEAD
- reorganisation of project files
- fixed bug with initialisation of fm8 jdbc driver

    1: <?xml version="1.0" encoding="UTF-8"?>
    2: <!-- root element -->
    3: <!ELEMENT convert (source,destination)>
    4: <!ELEMENT source (database+)>
    5: <!ELEMENT database 
    6:   (url,user,password,delimiter?,mode,usenormantounicodemapper?,table+,sqlcommands?)>
    7: <!ELEMENT url (TEXT)>
    8: <!ELEMENT user (TEXT)>
    9: <!ELEMENT password (TEXT)>
   10: <!ELEMENT delimiter (TEXT)>
   11: <!ELEMENT mode (TEXT)>
   12: <!ELEMENT usenormantounicodemapper ((true|false))>
   13: <!ELEMENT table (select|create?)>
   14: <!-- sql select statement special characters must be masked as entities -->
   15: <!ELEMENT select (TEXT)>
   16: <!-- sql create statement  special characters must be masked as entities -->
   17: <!ELEMENT create (TEXT)>
   18: <!--
   19: table
   20: name name of table
   21: layout filemaker layout name
   22: id id field name
   23: targetID id field name of target table important if field has a different name 
   24: than in destination Table
   25: important for synchronize mode 
   26: <table name = "bib_annot" layout = "" id = "ID" targetID="id" indexList ="">
   27: -->
   28: <!ATTLIST table name CDATA #REQUIRED layout CDATA #IMPLIED id CDATA #IMPLIED 
   29:   targetID CDATA #IMPLIED indexList CDATA #IMPLIED >
   30: <!-- Database element just needs url,user,passwd tables are not needed and not read-->
   31: <!ELEMENT destination (database+)>
   32: <!ELEMENT sqlcommands (sqlcommand*) >
   33: <!ELEMENT sqlCommand (TEXT) >
   34: <!--  
   35:   execute before conversion or execute after conversion  
   36:   -->
   37: <!ATTLIST sqlcommand execute (before|after) #REQUIRED >

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>