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

<?xml version="1.0" encoding="UTF-8"?>
<convert>
  <source>
    <database>
      <url>jdbc:fmpro:http://141.14.237.74:8050</url>
      <user>rogo</user>
      <password>3333</password>
      <table name = "Agenda" layout = "WEB">
         <select> select * from Agenda order by Datum </select>
         <create>           CREATE TABLE "agenda"
             ( "datum" DATE, 
               "uhrzeit" TIME, 
               "bis" TEXT, 
               "ort" TEXT, 
               "veranstaltungstyp" TEXT, 
               "titel" TEXT, 
               "beschreibung" TEXT, 
               "linktext" TEXT, 
               "link" TEXT, 
               "sortierfeld" INT4, 
               "datum2" DATE
             )         </create>
      </table>
      <table name = "archimedes_authors" layout = "List">
         <select>select * from "archimedes_authors"</select>
         <create>           CREATE TABLE "archimedes_authors"
             ( "author" TEXT, 
               "dsb" TEXT, 
               "born" TEXT, 
               "born_numeric" INT4, 
               "died" TEXT, 
               "biography" TEXT, 
               "export" TEXT
             )         </create>
      </table>
      <table name = "archimedes_facsimiles" layout = "General">
         <select>select * from "archimedes_facsimiles"</select>
         <create>           CREATE TABLE "archimedes_facsimiles"
             ( "cvs_file" TEXT, 
               "status_info_header" TEXT, 
               "author" TEXT, 
               "authors_born" TEXT, 
               "authors_died" TEXT, 
               "title" TEXT, 
               "text_groups_designation" TEXT, 
               "date" TEXT, 
               "edition" TEXT, 
               "place" TEXT, 
               "editor" TEXT, 
               "publisher" TEXT, 
               "translator" TEXT, 
               "no._of_pages" INT4, 
               "orig._lang" TEXT, 
               "general_notes" TEXT, 
               "lang" TEXT, 
               "locator" TEXT, 
               "hqi_planned_tmp" TEXT, 
               "hqi_cheap_tmp" TEXT, 
               "date_ordered" TEXT, 
               "date_received" TEXT, 
               "type_of_source" TEXT, 
               "text_origin" TEXT, 
               "_text_group_id" TEXT, 
               "copyright" TEXT, 
               "url" TEXT, 
               "to_do" TEXT, 
               "cvs_file_old" TEXT, 
               "cvs_file_new" TEXT
             )         </create>
      </table>
      <table name = "archimedes_textgroups" layout = "Related texts">
         <select>select * from "archimedes_textgroups"</select>
      </table>
      <table name = "archimedes_texts" layout = "Milestones text">
         <select>select * from "archimedes_texts"</select>
      </table>
      <table name = "bib_annot" layout = "Standard">
         <select>select * from "bib_annot"</select>
      </table>
      <table name = "bib_einstein" layout = "Recommendation for acquisitions print">
         <select>select * from "bib_einstein"</select>
      </table>
      <table name = "bib_projects" layout = "Main">
         <select>select * from "bib_projects"</select>
      </table>
    </database>
  </source>

  <destination>
    <database>
      <url>jdbc:postgresql://foxridge/test</url>
      <user>rogo</user>
      <password>3333</password>
    </database>
  </destination>
</convert>

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