#
# This is the abstract syntax (and most of the top-level profile info)
-# for GILS.
+# for GILS version 2.
#
name gils
all Any
-elm (1,1) schemaIdentifier -
-elm (1,10) rank -
-elm (1,12) url -
-elm (1,14) localControlNumber Local-number
-elm (1,16) dateOfLastModification Date/time-last-modified
-elm (2,1) Title !:p,!:w
-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 !:p,!:w
-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 local-subject-index:p,local-subject-index:w
-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)/(2,1) crossReferenceTitle !
-elm (4,98)/(4,17) crossReferenceLinkage !
-elm (4,98)/(4,18) crossReferenceType !
-elm (4,23) originalControlIdentifier !
-elm (4,59) supplementalInformation !
-
-elm (2,9) bodyOfDisplay Any
-
+elm (1,1) schemaIdentifier -
+elm (1,10) rank -
+elm (1,12) url -
+elm (1,14) localControlNumber -
+elm (2,1) title !:w,!:p
+elm (4,52) originator author-name-corporate
#
-# Local tags - testing only
+# Additional structuring of originator non-standard.
#
-
-elm sampleText bodyOfText !
+elm (4,52)/(2,7) originatorName author-name-corporate
+elm (4,52)/(2,10) originatorOrganization author-name-corporate
+elm (4,52)/(4,2) originatorStreetAddress author-name-corporate
+elm (4,52)/(4,3) originatorCity author-name-corporate
+elm (4,52)/(4,4) originatorStateOrProvince author-name-corporate
+elm (4,52)/(4,5) originatorZipOrPostalCode author-name-corporate
+elm (4,52)/(2,16) originatorCountry author-name-corporate
+elm (4,52)/(2,12) originatorNetworkAddress author-name-corporate
+elm (4,52)/(4,6) originatorHoursofService author-name-corporate
+elm (4,52)/(2,14) originatorTelephone author-name-corporate
+elm (4,52)/(2,15) originatorFax author-name-corporate
+elm (2,2) author !
+#
+# Additional structuring of author non-standard.
+#
+elm (2,2)/(2,7) authorName author
+elm (2,2)/(2,10) authorOrganization author
+elm (2,2)/(4,2) authorStreetAddress author
+elm (2,2)/(4,3) authorCity author
+elm (2,2)/(4,4) authorStateOrProvince author
+elm (2,2)/(4,5) authorZipOrPostalCode author
+elm (2,2)/(2,16) authorCountry author
+elm (2,2)/(2,12) authorNetworkAddress author
+elm (2,2)/(4,6) authorHoursofService author
+elm (2,2)/(2,14) authorTelephone author
+elm (2,2)/(2,15) authorFax author
+elm (2,4) dateOfPublication !
+elm (2,3) placeOfPublication place-publication
+elm (4,32) languageOfResource code-language
+elm (2,6) abstract !
+elm (4,95) controlledSubjectIndex -
+elm (4,95)/(4,21) subjectThesaurus -
+elm (4,95)/(4,96) subjectTermsControlled controlled-subject-index
+elm (4,95)/(4,96)/(4,20) controlledTerm index-terms
+elm (4,97) subjectTermsUncontrolled uncontrolled-term
+elm (4,97)/(4,22) uncontrolledTerm uncontrolled-term
+elm (4,71) spatialDomain !
+elm (4,71)/(4,91) boundingCoordinates !
+elm (4,71)/(4,91)/(4,9) westBoundingCoordinate !
+elm (4,71)/(4,91)/(4,10) eastBoundingCoordinate !
+elm (4,71)/(4,91)/(4,11) northBoundingCoordinate !
+elm (4,71)/(4,91)/(4,12) southBoundingCoordinate !
+elm (4,71)/(4,92) place !
+elm (4,71)/(4,92)/(4,14) placeKeywordThesaurus -
+elm (4,71)/(4,92)/(4,13) placeKeyword place
+elm (4,93) timePeriod !
+elm (4,93)/(4,16) timePeriodTextual !
+elm (4,93)/(4,101) timePeriodStructured !
+elm (4,93)/(4,101)/(4,15) beginningDate !
+elm (4,93)/(4,101)/(4,36) endingDate !
+elm (4,70) availability !
+elm (4,70)/(4,33) medium material-type
+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) distributorStateOrProvince !
+elm (4,70)/(4,90)/(4,5) distributorZipOrPostalCode !
+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) distributorTelephone !
+elm (4,70)/(4,90)/(2,15) distributorFax !
+elm (4,70)/(4,7) resourceDescription !
+elm (4,70)/(4,55) orderProcess !
+elm (4,70)/(4,55)/(4,28) orderInformation !
+elm (4,70)/(4,55)/(4,29) cost !
+elm (4,70)/(4,55)/(4,30) costInformation !
+elm (4,70)/(4,8) technicalPrerequisites !
+elm (4,70)/(4,93) availableTimePeriod !
+elm (4,70)/(4,93)/(4,16) availableTimeTextual !
+elm (4,70)/(4,93)/(4,102) availableTimeStructured !
+elm (4,70)/(4,93)/(4,102)/(4,15) beginningDate available-time-structured
+elm (4,70)/(4,93)/(4,102)/(4,36) endingDate available-time-structured
+elm (4,70)/(4,99) availableLinkage !
+elm (4,70)/(4,99)/(4,18) linkageType !
+elm (4,70)/(4,99)/(4,17) linkage available-linkage,linkage
+elm (4,57) sourcesOfData !
+elm (4,58) methodology !
+elm (4,53) accessConstraints !
+elm (4,53)/(4,25) generalAccessConstraints !
+elm (4,53)/(4,26) originatorDisseminationControl !
+elm (4,53)/(4,27) securityClassificationControl !
+elm (4,54) useConstraints !
+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) contactStateOrProvince !
+elm (4,94)/(4,5) contactZipOrPostalCode !
+elm (4,94)/(2,16) contactCountry !
+elm (4,94)/(2,12) contactNetworkAddress !
+elm (4,94)/(4,6) contactHoursOfService !
+elm (4,94)/(2,14) contactTelephone !
+elm (4,94)/(2,15) contactFax !
+elm (4,59) supplementalInformation -
+elm (4,51) purpose !
+elm (4,56) agencyProgram !
+elm (4,98) crossReference !
+elm (4,98)/(2,1) crossReferenceTitle !
+elm (4,98)/(4,35) crossReferenceRelationship !
+elm (4,98)/(4,100) crossReferenceLinkage !
+elm (4,98)/(4,100)/(4,18) linkageType -
+elm (4,98)/(4,100)/(4,17) linkage cross-reference-linkage
+elm (4,31) scheduleNumber !
+elm (4,1) controlIdentifier identifier-standard
+elm (4,23) originalControlIdentifier !
+elm (4,19) recordSource !
+elm (4,34) languageOfRecord !
+elm (1,16) dateOfLastModification date/time-last-modified
+elm (4,24) recordReviewDate !
include bib1.att
ordinal 2
-att 2001 distributorName
-att 2002 indexTermsControlled
-att 2003 purpose
-att 2004 accessConstraints
-att 2005 useConstraints
-att 2006 distributorOrganization
-att 2007 distributorStreetAddress
-att 2008 distributorCity
-att 2008 distributorState
-att 2010 distributorZipCode
-att 2011 distributorCountry
-att 2012 distributorNetworkAddress
-att 2013 distributorHoursOfService
-att 2014 distributorTelephone
-att 2015 distributorFax
-att 2016 availableResourceDescription
-att 2017 availableOrderProcess
-att 2018 availableTechnicalPrerequisites
-att 2019 availableTimePeriodStructured
-att 2020 availableTimePeriodTextual
-att 2021 availableLinkage
-att 2022 availableLinkageType
-att 2023 contactName
-att 2024 contactOrganization
-att 2025 contactStreetAddress
-att 2026 contactCity
-att 2027 contactState
-att 2028 contactZipCode
-att 2029 contactCountry
-att 2030 contactNetworkAddress
-att 2031 contactHoursOfService
-att 2032 contactTelephone
-att 2033 contactFax
-att 2034 agencyProgram
-att 2035 sourcesOfData
-att 2036 thesaurus
-att 2037 methodology
-att 2038 westernMost
-att 2039 easternMost
-att 2040 northernMost
-att 2041 southernMost
-att 2042 geographicKeywordName
-att 2043 geographicKeywordType
-att 2044 timePeriodStructured
-att 2045 timePeriodTextual
-att 2046 crossReferenceTitle
-att 2047 crossReferenceLinkage
-att 2048 crossReferenceType
-att 2049 originalControlIdentifier
-att 2050 supplementalInformation
+# att 4 Title
+# att 12 Local-Number # Local-control-number
+# att 29 Local-Subject-Index # Subject Terms Uncont.
+# att 31 Date-of-Publication
+# att 54 Code-language # Language-of-Resource
+# att 59 Place-Publication # Place-of-Publication
+# att 62 Abstract
+# att 1003 Author
+# att 1005 Author-Name-Corporate # originator
+# att 1007 Identifier-Standard # Control-Identifier
+# att 1012 Date/Time-Last-Modified # date-of-last-modific.
+# att 1016 Any
+# att 1019 Record-Source
+# att 1031 Material-type # Medium
+# att 1035 Anywhere
+
+att 2000 Distributor
+att 2001 Distributor-Name
+att 2002 Index-Terms # Subject-Terms-Contr.
+att 2003 Purpose
+att 2004 General-Access-Constraints
+att 2005 Use-Constraints
+att 2006 Distributor-Organization
+att 2007 Distributor-Street-Address
+att 2008 Distributor-City
+att 2009 Distributor-State-or-Province
+att 2010 Distributor-Zip-or-Postal-Code
+att 2011 Distributor-Country
+att 2012 Distributor-Network-Address
+att 2013 Distributor-Hours-of-Service
+att 2014 Distributor-Telephone
+att 2015 Distributor-Fax
+att 2016 Resource-Description
+att 2017 Order-Information
+att 2018 Technical-Prerequisites
+att 2019 Available-Time-Structured
+att 2020 Available-Time-Textual
+att 2021 Linkage
+att 2022 Linkage-Type
+att 2023 Contact-Name
+att 2024 Contact-Organization
+att 2025 Contact-Street-Address
+att 2026 Contact-City
+att 2027 Contact-State-or-Province
+att 2028 Contact-Zip-or-Postal-Code
+att 2029 Contact-Country
+att 2030 Contact-Network-Address
+att 2031 Contact-Hours-of-Service
+att 2032 Contact-Telephone
+att 2033 Contact-Fax
+att 2034 Agency-Program
+att 2035 Sources-of-Data
+att 2036 Subject-Thesaurus
+att 2037 Methodology
+att 2038 West-Bounding-Coordinate
+att 2039 East-Bounding-Coordinate
+att 2040 North-Bounding-Coordinate
+att 2041 South-Bounding-Coordinate
+att 2042 Place-Keyword
+att 2043 Place-Keyword-Thesaurus
+att 2044 Time-Period-Structured
+att 2045 Time-Period-Textual
+att 2046 Cross-Reference-Title
+att 2047 Cross-Reference-Linkage
+att 2049 Original-Control-Identifier
+att 2050 Supplemental-Information
+att 2051 Record-Review-Date
+att 2052 Originator-Dissemination-Control
+att 2053 Security-Classification-Control
+att 2054 Cost
+att 2055 Cost-Information
+att 2056 Schedule-Number
+att 2057 Controlled-Subject-Index
+att 2058 Uncontrolled-Term
+att 2059 Spatial-Domain
+att 2060 Bounding-Coordinates
+att 2061 Place
+att 2062 Time-Period
+att 2063 Availability
+att 2064 Order-Process
+att 2065 Available-Time-Period
+att 2066 Access-Constraints
+att 2067 Point-of-Contact
+att 2068 Cross-Reference
+att 2069 Available-Linkage
+att 2070 Cross-Reference-Relationship
+att 2071 Language-of-Record
+att 2072 Beginning-Date
+att 2073 Ending-Date
+att 2074 Controlled-Term
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/ct string
-tag 21 thesaurus string
-tag 22 localSubjectTerm/lst string
-tag 23 originalControlIdentifier string
-
-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/cr structured
+tag 1 controlIdentifier string
+tag 2 streetAddress string
+tag 3 city string
+tag 4 stateOrProvince string
+tag 5 zipOrPostalCode string
+tag 6 hoursOfService string
+tag 7 resourceDescription string
+tag 8 technicalPrerequisites string
+tag 9 westBoundingCoordinate intUnit
+tag 10 eastBoundingCoordinate intUnit
+tag 11 northBoundingCoordinate intUnit
+tag 12 southBoundingCoordinate intUnit
+tag 13 placeKeyword string
+tag 14 placeKeywordThesaurus string
+tag 15 beginningDate GeneralizedTime
+tag 16 timePeriodTextual string
+tag 17 linkage string
+tag 18 linkageType string
+tag 19 recordSource string
+tag 20 controlledTerm string
+tag 21 subjectThesaurus string
+tag 22 uncontrolledTerm string
+tag 23 originalControlIdentifier string
+tag 24 recordReviewDate GeneralizedTime
+tag 25 generalAccessConstraints string
+tag 26 originatorDisseminationControl string
+tag 27 securityClassificationControl string
+tag 28 orderInformation string
+tag 29 cost bool
+tag 30 costInformation string
+tag 31 scheduleNumber string
+tag 32 languageOfResource string
+tag 33 medium string
+tag 34 languageOfRecord string
+tag 35 relationship string
+tag 36 endingDate GeneralizedTime
+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 spatialDomain structured
+tag 90 distributor structured
+tag 91 boundingCoordinates structured
+tag 92 place structured
+tag 93 timePeriod structured
+tag 94 pointOfContact structured
+tag 95 controlledSubjectIndex structured
+tag 96 subjectTermsControlled structured
+tag 97 subjectTermsUncontrolled structured
+tag 98 crossReference structured
+tag 99 availableLinkage structured
+tag 100 crossReferenceLinkage structured
+tag 101 timePeriodStructured structured
+tag 102 availableTimeStructured structured