Changeset 1926 for TI07-MOLES/trunk


Ignore:
Timestamp:
22/12/06 17:25:10 (13 years ago)
Author:
ko23
Message:

Interim MDIP disassembly

Location:
TI07-MOLES/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • TI07-MOLES/trunk/DIF/XQuery/DIF2MOLES.xquery

    r1832 r1926  
    88declare namespace f='http://ndg.nerc.ac.uk/moles/localfunctions'; 
    99declare variable $input_collection as xs:string {'TargetCollection'}; 
     10 
    1011declare variable $unknown_vocab_id as xs:string {'http://vocab.ndg.nerc.ac.uk/null'}; 
    11 declare variable $ndg_data_provider_vocab as xs:string {'http://vocab.ndg.nerc.ac.uk/N010'}; 
    12 declare variable $gcmd_science_valids as xs:string {'http://gcmd.gsfc.nasa.gov/Resources/valids/gcmd_parameters.html'}; 
     12 
     13declare variable $bodc_parameter_discovery_vocab as xs:string {'http://vocab.ndg.nerc.ac.uk/P021'}; 
     14 
     15declare variable $cf_standard_names as xs:string {'http://www.cgd.ucar.edu/cms/eaton/cf-metadata/standard_name.html'}; 
     16 
     17(: declare variable $gcmd_science_valids as xs:string {'http://gcmd.gsfc.nasa.gov/Resources/valids/gcmd_parameters.html'}; :) 
     18declare variable $gcmd_science_valids as xs:string {'http://vocab.ndg.nerc.ac.uk/041'}; 
    1319declare variable $gcmd_project_valids as xs:string {'http://gcmd.gsfc.nasa.gov/Resources/valids/projects.html'}; 
    1420declare variable $gcmd_location_valids as xs:string {'http://gcmd.gsfc.nasa.gov/Resources/valids/locations.html'}; 
    1521declare variable $gcmd_paleotemporal_valids as xs:string {'http://gcmd.gsfc.nasa.gov/Resources/valids/paleotemporal.html'}; 
    1622declare variable $gcmd_iso_topic_list as xs:string {'http://gcmd.gsfc.nasa.gov/Resources/valids/iso_topic_list.html'}; 
    17 declare variable $cf_standard_names as xs:string {'http://www.cgd.ucar.edu/cms/eaton/cf-metadata/standard_name.html'}; 
    18 declare variable $iso_topic_list as xs:string {'http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#MD_TopicCategoryCode'}; 
     23 
     24(: declare variable $iso_topic_list as xs:string {'http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#MD_TopicCategoryCode'}; :) 
     25declare variable $iso_topic_list as xs:string {'http://vocab.ndg.nerc.ac.uk/P051'}; 
     26 
     27declare variable $ndg_data_provider_vocab as xs:string {'http://vocab.ndg.nerc.ac.uk/N010'}; 
     28 
    1929declare variable $input_repository as xs:string {'Input_Repository_Code'}; 
    2030declare variable $input_repository_local as xs:string {'Input_Repository_LocalID'}; 
  • TI07-MOLES/trunk/MDIP/MDIPRelated.xpr

    r1917 r1926  
    88    <projectTree name="MDIPRelated.xpr"> 
    99        <file name="../DIF/XQuery/DIF2MOLES.xquery"/> 
     10        <file name="Examples/Gemini_MDIP_v0.5.xml"/> 
    1011        <file name="XQueries/MDIP2MOLES.xquery"/> 
    1112        <file name="Schemae/MDIPMetaData_v0_5.xsd"/> 
  • TI07-MOLES/trunk/MDIP/XQueries/MDIP2MOLES.xquery

    r1917 r1926  
    1 (: Version for one DIF per dgMetadata instance :) 
     1(: Version for one MDIP per dgMetadata instance :) 
    22(: Note algoritm for creating non-pre-existing organisations :) 
    33 (: dgPersons are not created as one can't tell automatically which are people and which are orgs, and orgs are simpler :)   
     
    99declare namespace f='http://ndg.nerc.ac.uk/moles/localfunctions'; 
    1010declare variable $input_collection as xs:string {'TargetCollection'}; 
    11 declare variable $unknown_vocab_id as xs:string {'http://vocab.ndg.nerc.ac.uk/null'}; 
    12 declare variable $ndg_data_provider_vocab as xs:string {'http://vocab.ndg.nerc.ac.uk/N010'}; 
    13  
    14 declare variable $ISO_639-2_ns as xs:string{'UKGemini_Langauge_Categories'}; 
    15 declare variable $ISO_3166_ns as xs:string{'UKGemini_Land_Area_Categories'}; 
    16 declare variable $iso_topic_list as xs:string {'http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#MD_TopicCategoryCode'}; 
    1711 
    1812declare variable $input_repository as xs:string {'Input_Repository_Code'}; 
    1913declare variable $input_repository_local as xs:string {'Input_Repository_LocalID'}; 
    20 declare variable $input_DatasetIdentifier as xs:string {'Input_DatasetIdentifier'}; 
    21  
    22 declare variable $gcmd_science_valids as xs:string {'http://gcmd.gsfc.nasa.gov/Resources/valids/gcmd_parameters.html'}; 
     14declare variable $input_DatasetIdentifier as xs:string {'Input_Entry_ID'}; 
     15 
     16declare variable $unknown_vocab_id as xs:string {'http://vocab.ndg.nerc.ac.uk/null'}; 
     17 
     18declare variable $bodc_parameter_discovery_vocab as xs:string {'http://vocab.ndg.nerc.ac.uk/P021'}; 
     19 
     20declare variable $cf_standard_names as xs:string {'http://www.cgd.ucar.edu/cms/eaton/cf-metadata/standard_name.html'}; 
     21 
     22(: declare variable $gcmd_science_valids as xs:string {'http://gcmd.gsfc.nasa.gov/Resources/valids/gcmd_parameters.html'}; :) 
     23declare variable $gcmd_science_valids as xs:string {'http://vocab.ndg.nerc.ac.uk/041'}; 
    2324declare variable $gcmd_project_valids as xs:string {'http://gcmd.gsfc.nasa.gov/Resources/valids/projects.html'}; 
    2425declare variable $gcmd_location_valids as xs:string {'http://gcmd.gsfc.nasa.gov/Resources/valids/locations.html'}; 
    2526declare variable $gcmd_paleotemporal_valids as xs:string {'http://gcmd.gsfc.nasa.gov/Resources/valids/paleotemporal.html'}; 
    2627declare variable $gcmd_iso_topic_list as xs:string {'http://gcmd.gsfc.nasa.gov/Resources/valids/iso_topic_list.html'}; 
    27 declare variable $cf_standard_names as xs:string {'http://www.cgd.ucar.edu/cms/eaton/cf-metadata/standard_name.html'}; 
    28  
     28 
     29(: declare variable $iso_topic_list as xs:string {'http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#MD_TopicCategoryCode'}; :) 
     30declare variable $iso_topic_list as xs:string {'http://vocab.ndg.nerc.ac.uk/P051'}; 
     31declare variable $ISO_639-2_ns as xs:string{'UKGemini_Langauge_Categories'}; 
     32declare variable $ISO_3166_ns as xs:string{'UKGemini_Land_Area_Categories'}; 
     33 
     34declare variable $ndg_data_provider_vocab as xs:string {'http://vocab.ndg.nerc.ac.uk/N010'}; 
    2935 
    3036declare function f:fix-coord($e as element()) as element()  
Note: See TracChangeset for help on using the changeset viewer.