Changeset 1799 for TI07-MOLES/trunk/DIF/XQuery/DIF2MOLES.xquery
- Timestamp:
- 04/12/06 12:46:20 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TI07-MOLES/trunk/DIF/XQuery/DIF2MOLES.xquery
r1798 r1799 7 7 declare namespace f='http://ndg.nerc.ac.uk/moles/localfunctions'; 8 8 declare variable $input_collection as xs:string {'/db/discovery'}; 9 declare variable $unknown_vocab_id as xs:string {'http://vocab.ndg.nerc.ac.uk/null'}; 9 10 declare variable $ndg_data_provider_vocab as xs:string {'http://vocab.ndg.nerc.ac.uk/N010'}; 10 11 declare variable $gcmd_science_valids as xs:string {'http://gcmd.gsfc.nasa.gov/Resources/valids/gcmd_parameters.html'}; 11 12 declare variable $gcmd_project_valids as xs:string {'http://gcmd.gsfc.nasa.gov/Resources/valids/projects.html'}; 13 declare variable $gcmd_iso_topic_list as xs:string {'http://gcmd.gsfc.nasa.gov/Resources/valids/iso_topic_list.html'}; 12 14 declare variable $cf_standard_names as xs:string {'http://www.cgd.ucar.edu/cms/eaton/cf-metadata/standard_name.html'}; 13 15 declare variable $iso_topic_list as xs:string {'http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#MD_TopicCategoryCode'}; … … 143 145 element dgValidTerm {$structuredKeywords}, 144 146 element dgValidTermID { 145 element ParentListID { 'http://vocab.ndg.nerc.ac.uk/null.'},147 element ParentListID {$unknown_vocab_id}, 146 148 element TermID {escape-uri($structuredKeywords, true())} 147 149 } … … 152 154 element dgValidTerm {string($structuredKeywords)}, 153 155 element dgValidTermID { 154 element ParentListID { 'http://vocab.ndg.nerc.ac.uk/null.'},155 element TermID {escape-uri( string($structuredKeywords), true())}156 element ParentListID {$gcmd_iso_topic_list}, 157 element TermID {escape-uri($structuredKeywords, true())} 156 158 } 157 159 },
Note: See TracChangeset
for help on using the changeset viewer.