--- /dev/null
+name bib1
+reference Bib-1
+ordinal 1
+
+att 1 Personal-name
+att 2 Corporate-name
+att 3 Conference-name
+att 4 Title
+att 5 Title-series
+att 6 Title-uniform
+att 7 ISBN
+att 8 ISSN
+att 9 LC-card-number
+att 10 BNB-card-number
+att 11 BGF-number
+att 12 Local-number
+att 13 Dewey-classification
+att 14 UDC-classification
+att 15 Bliss-classification
+att 16 LC-call-number
+att 17 NLM-call-number
+att 18 NAL-call-number
+att 19 MOS-call-number
+att 20 Local-classification
+att 21 Subject-heading
+att 22 Subject-Rameau
+att 23 BDI-index-subject
+att 24 INSPEC-subject
+att 25 MESH-subject
+att 26 PA-subject
+att 27 LC-subject-heading
+att 28 RVM-subject-heading
+att 29 Local-subject-index
+att 30 Date
+att 31 Date-of-publication
+att 32 Date-of-acquisition
+att 33 Title-key
+att 34 Title-collective
+att 35 Title-parallel
+att 36 Title-cover
+att 37 Title-added-title-page
+att 38 Title-caption
+att 39 Title-running
+att 40 Title-spine
+att 41 Title-other-variant
+att 42 Title-former
+att 43 Title-abbreviated
+att 44 Title-expanded
+att 45 Subject-precis
+att 46 Subject-rswk
+att 47 Subject-subdivision
+att 48 Number-natl-biblio
+att 49 Number-legal-deposit
+att 50 Number-govt-pub
+att 51 Number-music-publisher
+att 52 Number-db
+att 53 Number-local-call
+att 54 Code-language
+att 55 Code-geographic
+att 56 Code-institution
+att 57 Name-and-title
+att 58 Name-geographic
+att 59 Place-publication
+att 60 CODEN
+att 61 Microform-generation
+att 62 Abstract
+att 63 Note
+att 1000 Author-title
+att 1001 Record-type
+att 1002 Name
+att 1003 Author
+att 1004 Author-name-personal
+att 1005 Author-name-corporate
+att 1006 Author-name-conference
+att 1007 Identifier-standard
+att 1008 Subject-LC-childrens
+att 1009 Subject-name-personal
+att 1010 Body-of-text
+att 1011 Date/time-added-to-db
+att 1012 Date/time-last-modified
+att 1013 Authority/format-id
+att 1014 Concept-text
+att 1015 Concept-reference
+att 1016 Any
+att 1017 Server-choice
+att 1018 Publisher
+att 1019 Record-source
+att 1020 Editor
+att 1021 Bib-level
+att 1022 Geographic-class
+att 1023 Indexed-by
+att 1024 Map-scale
+att 1025 Music-key
+att 1026 Related-periodical
+att 1027 Report-number
+att 1028 Stock-number
+att 1030 Thematic-number
+att 1031 Material-type
+att 1032 Doc-id
+att 1033 Host-item
+att 1034 Content-type
+att 1035 Anywhere
+att 1036 Author-Title-Subject
--- /dev/null
+simpleelement (1,10)
+simpleelement (1,12)
+simpleelement (4,50)
+simpleelement (1,14)
+simpleelement (4,1)
+simpleelement (4,52)
+simpleelement (2,6)
--- /dev/null
+simpleelement (1,10)
+simpleelement (1,12)
+simpleelement (4,50)
+simpleelement (1,14)
+simpleelement (4,1)
+simpleelement (4,52)
--- /dev/null
+simpleelement (1,10)
+simpleelement (1,12)
+simpleelement (4,50)
+simpleelement (1,14)
+simpleelement (4,1)
+simpleelement (4,52)
+simpleelement (4,98)
--- /dev/null
+#
+# This table maps records in the GILS abstract syntax to the USMARC one
+#
+
+targetname usmarc
+targetref USmarc
+
+map title /(3,245)/(3,a)
+map localControlNumber /(3,001)/(3,@)
+map abstract /(3,520)/(3,a)
+map purpose /(3,500)/(3,a)
+map originator /(3,710)/(3,a)
+map accessConstraints /(3,506)/(3,a)
+map useConstraints /(3,540)/(3,a)
+
+map distributor /(3,270):new nodata
+map distributorName /(3,270)/(3,p)
+map distributorOrganization /(3,270)/(3,p)
+map distributorStreetAddress /(3,270)/(3,a)
+map distributorCity /(3,270)/(3,b)
+map distributorState /(3,270)/(3,c)
+map distributorZipCode /(3,270)/(3,e)
+map distributorCountry /(3,270)/(3,d)
+map distributorNetworkAddress /(3,270)/(3,m)
+map distributorHoursOfService /(3,301)/(3,a)
+map distributorTelephone /(3,270)/(3,k)
+map distributorFax /(3,270)/(3,l)
+
+map resourceDescription /(3,037)/(3,f)
+map orderProcess /(3,037)/(3,c)
+map technicalPrerequisite /(3,538)/(3,a)
+map availableTimePeriodStructured /(3,045)/(3,c)
+map availableTimePeriodTextual /(3,037)/(3,n) # Unhandled conditional
+
+map linkage /(3,856)/(3,u)
+map linkageType /(3,856)/(3,2)
+#map pointOfContact /(3,856)/(3,m) # Look into this
+
+map pointOfContact /(3,270):new nodata
+map contactName /(3,270)/(3,p)
+map contactOrganization /(3,270)/(3,p)
+map contactStreetAddress /(3,270)/(3,a)
+map contactCity /(3,270)/(3,b)
+map contactState /(3,270)/(3,c)
+map contactZipCode /(3,270)/(3,e)
+map contactCountry /(3,270)/(3,d)
+map contactNetworkAddress /(3,270)/(3,m)
+map contactHoursOfService /(3,301)/(3,a)
+map contactTelephone /(3,270)/(3,k)
+map contactFax /(3,270)/(3,l)
+
+map recordSource /(3,040)/(3,a)
+map dateLastModified /(3,005)/(3,@)
+map agencyProgram /(3,500)/(3,a)
+map sourcesOfData /(3,537)/(3,a)
+map indexTermsControlled /(3,650)/(3,a)
+map thesaurus /(3,650)/(3,2)
+map localSubjectTerm /(3,653)/(3,a)
+map methodology /(3,567)/(3,a)
+
+map boundingrectangle /(3,034):new nodata
+map westernMost /(3,034)/(3,d)
+map easternMost /(3,034)/(3,e)
+map northernMost /(3,034)/(3,f)
+map southernMost /(3,034)/(3,g)
+
+map geographicKeywordName /(3,651)/(3,a)
+map geographicKeywordType /(3,655)/(3,z) # Probably incorrect
+map timeperiodStructured /(3,045)/(3,c)
+map timeperiodTextual /(3,513)/(3,b)
+map crossReferenceTitle /(3,787)/(3,t)
+map crossReferenceLinkage /(3,787)/(3,w)
+
+map ControlIdentifier /(3,035)/(3,a)
+map supplementalInformation /(3,500)/(3,a)
--- /dev/null
+#
+# This is the abstract syntax (and most of the top-level profile info)
+# for GILS.
+#
+
+name gils
+reference GILS
+attset gils.att
+tagset gils.tag
+varset var1.var
+
+maptab gils-usmarc.map
+
+# Element set names
+
+esetname B gils-b.est
+esetname G gils-g.est
+esetname W gils-b.est # We don't really do bodyOfDisplay yet.
+esetname F @
+
+elm (1,10) rank -
+elm (1,12) url -
+elm (1,14) localControlNumber Local-number
+elm (1,16) dateOfLastModification Date/time-last-modified
+elm (4,50) Title !
+elm (4,1) controlIdentifier Identifier-standard
+elm (2,6) abstract Abstract
+elm (4,51) purpose !
+elm (4,52) originator - ???
+elm (4,53) accessConstraints !
+elm (4,54) useConstraints !
+elm (4,70) availability -
+elm (4,70)/(4,90) distributor -
+elm (4,70)/(4,90)/(2,7) distributorName !
+elm (4,70)/(4,90)/(2,10) distributorOrganization !
+elm (4,70)/(4,90)/(4,2) distributorStreetAddress !
+elm (4,70)/(4,90)/(4,3) distributorCity !
+elm (4,70)/(4,90)/(4,4) distributorState !
+elm (4,70)/(4,90)/(4,5) distributorZipCode !
+elm (4,70)/(4,90)/(2,16) distributorCountry !
+elm (4,70)/(4,90)/(2,12) distributorNetworkAddress !
+elm (4,70)/(4,90)/(4,6) distributorHoursOfService !
+elm (4,70)/(4,90)/(2,14) distributorPhoneNumber distributorTelephone
+elm (4,70)/(4,90)/(2,15) distributorFaxNumber distributorFax
+elm (4,70)/(4,7) resourceDescription availableResourceDescription
+elm (4,70)/(4,55) orderProcess availableOrderProcess
+elm (4,70)/(4,8) technicalPrerequisite availableTechnicalPrerequisites
+elm (4,70)/(4,93) availableTimePeriod -
+elm (4,70)/(4,93)/(4,15) availableTimePeriodStructured availableTimePeriodStructured
+elm (4,70)/(4,93)/(4,16) availableTimePeriodTextual availableTimePeriodTextual
+elm (4,70)/(4,17) linkage availableLinkage
+elm (4,70)/(4,18) linkageType availableLinkageType
+elm (4,94) pointOfContact -
+elm (4,94)/(2,7) contactName !
+elm (4,94)/(2,10) contactOrganization !
+elm (4,94)/(4,2) contactStreetAddress !
+elm (4,94)/(4,3) contactCity !
+elm (4,94)/(4,4) contactState !
+elm (4,94)/(4,5) contactZipCode !
+elm (4,94)/(2,16) contactCountry !
+elm (4,94)/(2,12) contactNetworkAddress !
+elm (4,94)/(4,6) contactHoursOfService !
+elm (4,94)/(2,14) contactPhoneNumber contactTelephone
+elm (4,94)/(2,15) contactFaxNumber contactFax
+elm (4,19) recordSource Record-source
+elm (4,56) agencyProgram !
+elm (4,57) sourcesOfData !
+elm (4,95) controlledVocabulary -
+elm (4,95)/(4,96) indexTermsControlled -
+elm (4,95)/(4,96)/(4,20) controlledTerm indexTermsControlled
+elm (4,95)/(4,21) thesaurus !
+elm (4,97) localSubjectIndex -
+elm (4,97)/(4,22) localSubjectTerm -
+elm (4,58) methodology !
+elm (4,71) spatialReference -
+elm (4,71)/(4,91) boundingRectangle -
+elm (4,71)/(4,91)/(4,9) westernMost !
+elm (4,71)/(4,91)/(4,10) easternMost !
+elm (4,71)/(4,91)/(4,11) northernMost !
+elm (4,71)/(4,91)/(4,12) southernMost !
+elm (4,71)/(4,92) geographicName -
+elm (4,71)/(4,92)/(4,13) geographicKeywordName !
+elm (4,71)/(4,92)/(4,14) geographicKeywordType !
+elm (4,93) timePeriod -
+elm (4,93)/(4,15) timePeriodStructured !
+elm (4,93)/(4,16) timePeriodTextual !
+elm (4,98) crossReference -
+elm (4,98)/(4,50) crossReferenceTitle !
+elm (4,98)/(4,17) crossReferenceLinkage !
+elm (4,98)/(4,18) crossReferenceType !
+elm (4,23) originalControlIdentifier !
+elm (4,59) supplementalInformation !
--- /dev/null
+name gils\r
+reference GILS\r
+include bib1.att\r
+ordinal 2\r
+\r
+att 2001 distributorName\r
+att 2002 indexTermsControlled\r
+att 2003 purpose\r
+att 2004 accessConstraints\r
+att 2005 useConstraints\r
+att 2006 distributorOrganization\r
+att 2007 distributorStreetAddress\r
+att 2008 distributorCity\r
+att 2008 distributorState\r
+att 2010 distributorZipCode\r
+att 2011 distributorCountry\r
+att 2012 distributorNetworkAddress\r
+att 2013 distributorHoursOfService\r
+att 2014 distributorTelephone\r
+att 2015 distributorFax\r
+att 2016 availableResourceDescription\r
+att 2017 availableOrderProcess\r
+att 2018 availableTechnicalPrerequisites\r
+att 2019 availableTimePeriodStructured\r
+att 2020 availableTimePeriodTextual\r
+att 2021 availableLinkage\r
+att 2022 availableLinkageType\r
+att 2023 contactName \r
+att 2024 contactOrganization\r
+att 2025 contactStreetAddress\r
+att 2026 contactCity\r
+att 2027 contactState\r
+att 2028 contactZipCode\r
+att 2029 contactCountry\r
+att 2030 contactNetworkAddress\r
+att 2031 contactHoursOfService\r
+att 2032 contactTelephone\r
+att 2033 contactFax\r
+att 2034 agencyProgram\r
+att 2035 sourcesOfData\r
+att 2036 thesaurus\r
+att 2037 methodology\r
+att 2038 westernMost\r
+att 2039 easternMost\r
+att 2040 northernMost\r
+att 2041 southernMost\r
+att 2042 geographicKeywordName\r
+att 2043 geographicKeywordType\r
+att 2044 timePeriodStructured\r
+att 2045 timePeriodTextual\r
+att 2046 crossReferenceTitle\r
+att 2047 crossReferenceLinkage\r
+att 2048 crossReferenceType\r
+att 2049 originalControlIdentifier\r
+att 2050 supplementalInformation\r
--- /dev/null
+name gils
+reference GILS
+type 4
+include tagsetm.tag
+include tagsetg.tag
+
+tag 1 controlIdentifier string
+tag 2 streetAddress string
+tag 3 city string
+tag 4 state string
+tag 5 zipcode string
+tag 6 hoursOfService string
+tag 7 resourceDescription string
+tag 8 technicalPrerequisites string
+tag 9 westernMost/westBoundingCoordinate intunit
+tag 10 easternMost/eastBoundingCoordinate intunit
+tag 11 northernMost/northBoundingCoordinate intunit
+tag 12 southernMost/southBoundingCoordinate intunit
+tag 13 geographicKeywordName string
+tag 14 geographicKeywordType string
+tag 15 timePeriodStructured generalizedtime
+tag 16 timePeriodTextual string
+tag 17 linkage string
+tag 18 linkageType string
+tag 19 recordSource string
+tag 20 controlledTerm string
+tag 21 thesaurus string
+tag 22 localSubjectTerm string
+tag 23 originalControlIdentifier string
+
+tag 50 title structured
+tag 51 purpose structured
+tag 52 originator structured
+tag 53 accessConstraints structured
+tag 54 useConstraints structured
+tag 55 orderProcess structured
+tag 56 agencyProgram structured
+tag 57 sourcesOfData structured
+tag 58 methodology structured
+tag 59 supplementalInformation structured
+tag 70 availability structured
+tag 71 spatialReference/spatialDomain structured
+tag 90 distributor structured
+tag 91 boundingRectangle/boundingCoordinates structured
+tag 92 geographicName structured
+tag 93 timePeriod structured
+tag 94 pointOfContact structured
+tag 95 controlledVocabulary structured
+tag 96 indexTermsControlled structured
+tag 97 localSubjectIndex structured
+tag 98 crossReference structured
--- /dev/null
+name tagsetg
+reference TagsetG
+type 2
+
+tag 1 title string
+tag 2 author string
+tag 3 publicationPlace string
+tag 4 publicationDate string
+tag 5 documentId string
+tag 6 abstract string
+tag 7 name string
+tag 8 date generalizedtime
+tag 9 bodyOfDisplay string
+tag 10 organization string
+tag 11 postalAddress string
+tag 12 networkAddress string
+tag 13 eMailAddress string
+tag 14 phoneNumber/telephone string
+tag 15 faxNumber string
+tag 16 country string
+tag 17 description string
+tag 18 time intunit
+tag 19 documentcontent octetstring
--- /dev/null
+name tagsetm
+reference TagsetM
+type 1
+
+tag 1 scemaIdentifier oid
+tag 2 elementsOrdered bool
+tag 3 elementOrdering int
+tag 4 defaultTagType int
+tag 5 defaultVariantSetId oid
+tag 6 defaultVariantSpec structured
+tag 7 processingInstructions string
+tag 8 recordUsage int
+tag 9 restriction string
+tag 10 rank int
+tag 11 userMessage string
+tag 12 url string
+tag 13 record structured
+tag 14 local-control-number string
+tag 15 creation-date generalizedtime
+tag 16 dateOfLastModification generalizedtime
+tag 17 dateOfLastReview generalizedtime
+tag 18 score int
+tag 19 wellKnown string
+tag 20 recordWrapper structured
+tag 21 defaultTagSetId oid
--- /dev/null
+simpleelement (3,'001)
+simpleelement (3,'035)
+simpleelement (3,'245)
+simpleelement (3,'100)
+simpleelement (3,'710)
--- /dev/null
+name usmarc
+reference USmarc
+
+marc usmarc.mar
+
+esetname B usmarc-b.est
+esetname F @
--- /dev/null
+name usmarc
+reference USmarc
--- /dev/null
+#
+# Definition of the variant set Variant-1.
+# Variant triple syntax is '<VAR class type value>'. Eg.
+# <var body iana "application/postscript"> or <var lang lang "eng">.
+#
+
+name variant-1
+reference Variant-1
+
+class 1 variantId
+
+ type 1 variantId octetstring
+
+class 2 body
+
+ type 1 iana string
+ type 2 z39.50 string
+ type 3 other string
+
+class 3 format
+
+ type 1 characters-per-line int
+ type 2 line-length int
+
+ # More types here......
+
+class 4 lang
+
+ type 1 lang string
+ type 2 charset int
+ type 3 charset-id oid
+ type 4 encoding-id oid
+ type 5 private-string string
+
+class 5 piece
+
+ type 1 fragment-wanted int
+ type 2 fragment-returned int
+ type 3 start intunit
+ type 4 end intunit
+ type 5 howmuch intunit
+ type 6 step intunit
+ type 7 targettoken octetstring
+
+class 6 metadata-requested
+
+ type 1 cost int
+
+ # More to follow....
+
+class 7 metadata-returned
+
+ type 1 cost intunit
+
+ # More...
+
+# More classes, too...