From: <hei...@us...> - 2012-02-21 15:32:57
|
Revision: 8719 http://geonetwork.svn.sourceforge.net/geonetwork/?rev=8719&view=rev Author: heikkidoeleman Date: 2012-02-21 15:32:44 +0000 (Tue, 21 Feb 2012) Log Message: ----------- GeoBru profile on ISO19139 Added Paths: ----------- schemaPlugins/trunk/geobru/ schemaPlugins/trunk/geobru/geobru-pluginprofile-documentation.txt schemaPlugins/trunk/geobru/iso19139.geobru/ schemaPlugins/trunk/geobru/iso19139.geobru/convert/ schemaPlugins/trunk/geobru/iso19139.geobru/convert/19119ToJZKitRepository.xsl schemaPlugins/trunk/geobru/iso19139.geobru/convert/CDMCoords-to-ISO19139Keywords.xsl schemaPlugins/trunk/geobru/iso19139.geobru/convert/DIFToISO.xsl schemaPlugins/trunk/geobru/iso19139.geobru/convert/OGCWxSGetCapabilitiesto19119/ schemaPlugins/trunk/geobru/iso19139.geobru/convert/OGCWxSGetCapabilitiesto19119/OGCCSWGetCapabilities-to-ISO19119_ISO19139.xsl schemaPlugins/trunk/geobru/iso19139.geobru/convert/OGCWxSGetCapabilitiesto19119/OGCSOSGetCapabilities-to-ISO19119_ISO19139.xsl schemaPlugins/trunk/geobru/iso19139.geobru/convert/OGCWxSGetCapabilitiesto19119/OGCSOSGetCapabilitiesLayer-to-19139.xsl schemaPlugins/trunk/geobru/iso19139.geobru/convert/OGCWxSGetCapabilitiesto19119/OGCWCSGetCapabilities-to-ISO19119_ISO19139.xsl schemaPlugins/trunk/geobru/iso19139.geobru/convert/OGCWxSGetCapabilitiesto19119/OGCWCSGetCapabilitiesLayer-to-19139.xsl schemaPlugins/trunk/geobru/iso19139.geobru/convert/OGCWxSGetCapabilitiesto19119/OGCWFSGetCapabilities-to-ISO19119_ISO19139.xsl schemaPlugins/trunk/geobru/iso19139.geobru/convert/OGCWxSGetCapabilitiesto19119/OGCWFSGetCapabilitiesLayer-to-19139.xsl schemaPlugins/trunk/geobru/iso19139.geobru/convert/OGCWxSGetCapabilitiesto19119/OGCWMSGetCapabilities-to-ISO19119_ISO19139.xsl schemaPlugins/trunk/geobru/iso19139.geobru/convert/OGCWxSGetCapabilitiesto19119/OGCWMSGetCapabilitiesLayer-to-19139.xsl schemaPlugins/trunk/geobru/iso19139.geobru/convert/OGCWxSGetCapabilitiesto19119/OGCWPSGetCapabilities-to-ISO19119_ISO19139.xsl schemaPlugins/trunk/geobru/iso19139.geobru/convert/ThreddsToFragments/ schemaPlugins/trunk/geobru/iso19139.geobru/convert/ThreddsToFragments/netcdf-attributes.xsl schemaPlugins/trunk/geobru/iso19139.geobru/convert/ThreddsToFragments/thredds/ schemaPlugins/trunk/geobru/iso19139.geobru/convert/ThreddsToFragments/thredds/utils.xsl schemaPlugins/trunk/geobru/iso19139.geobru/convert/ThreddsToFragments/thredds-metadata.xsl schemaPlugins/trunk/geobru/iso19139.geobru/convert/WFSToFragments/ schemaPlugins/trunk/geobru/iso19139.geobru/convert/WFSToFragments/deegree22_philosopher_fragments.xsl schemaPlugins/trunk/geobru/iso19139.geobru/convert/WFSToFragments/geoserver_boundary_fragments.xsl schemaPlugins/trunk/geobru/iso19139.geobru/convert/functions.xsl schemaPlugins/trunk/geobru/iso19139.geobru/convert/oai_dc.xsl schemaPlugins/trunk/geobru/iso19139.geobru/convert/to19139.xsl schemaPlugins/trunk/geobru/iso19139.geobru/extract-date-modified.xsl schemaPlugins/trunk/geobru/iso19139.geobru/extract-gml.xsl schemaPlugins/trunk/geobru/iso19139.geobru/extract-thumbnails.xsl schemaPlugins/trunk/geobru/iso19139.geobru/extract-uuid.xsl schemaPlugins/trunk/geobru/iso19139.geobru/index-fields.xsl schemaPlugins/trunk/geobru/iso19139.geobru/loc/ schemaPlugins/trunk/geobru/iso19139.geobru/loc/ar/ schemaPlugins/trunk/geobru/iso19139.geobru/loc/ar/codelists.xml schemaPlugins/trunk/geobru/iso19139.geobru/loc/ar/labels.xml schemaPlugins/trunk/geobru/iso19139.geobru/loc/ar/strings.xml schemaPlugins/trunk/geobru/iso19139.geobru/loc/ca/ schemaPlugins/trunk/geobru/iso19139.geobru/loc/ca/codelists.xml schemaPlugins/trunk/geobru/iso19139.geobru/loc/ca/labels.xml schemaPlugins/trunk/geobru/iso19139.geobru/loc/ca/strings.xml schemaPlugins/trunk/geobru/iso19139.geobru/loc/cn/ schemaPlugins/trunk/geobru/iso19139.geobru/loc/cn/codelists.xml schemaPlugins/trunk/geobru/iso19139.geobru/loc/cn/labels.xml schemaPlugins/trunk/geobru/iso19139.geobru/loc/cn/strings.xml schemaPlugins/trunk/geobru/iso19139.geobru/loc/de/ schemaPlugins/trunk/geobru/iso19139.geobru/loc/de/codelists.xml schemaPlugins/trunk/geobru/iso19139.geobru/loc/de/labels.xml schemaPlugins/trunk/geobru/iso19139.geobru/loc/de/strings.xml schemaPlugins/trunk/geobru/iso19139.geobru/loc/en/ schemaPlugins/trunk/geobru/iso19139.geobru/loc/en/codelists.xml schemaPlugins/trunk/geobru/iso19139.geobru/loc/en/labels.xml schemaPlugins/trunk/geobru/iso19139.geobru/loc/en/strings.xml schemaPlugins/trunk/geobru/iso19139.geobru/loc/es/ schemaPlugins/trunk/geobru/iso19139.geobru/loc/es/codelists.xml schemaPlugins/trunk/geobru/iso19139.geobru/loc/es/labels.xml schemaPlugins/trunk/geobru/iso19139.geobru/loc/es/strings.xml schemaPlugins/trunk/geobru/iso19139.geobru/loc/fi/ schemaPlugins/trunk/geobru/iso19139.geobru/loc/fi/codelists.xml schemaPlugins/trunk/geobru/iso19139.geobru/loc/fi/labels.xml schemaPlugins/trunk/geobru/iso19139.geobru/loc/fi/strings.xml schemaPlugins/trunk/geobru/iso19139.geobru/loc/fr/ schemaPlugins/trunk/geobru/iso19139.geobru/loc/fr/codelists.xml schemaPlugins/trunk/geobru/iso19139.geobru/loc/fr/labels.xml schemaPlugins/trunk/geobru/iso19139.geobru/loc/fr/strings.xml schemaPlugins/trunk/geobru/iso19139.geobru/loc/nl/ schemaPlugins/trunk/geobru/iso19139.geobru/loc/nl/codelists.xml schemaPlugins/trunk/geobru/iso19139.geobru/loc/nl/labels.xml schemaPlugins/trunk/geobru/iso19139.geobru/loc/nl/strings.xml schemaPlugins/trunk/geobru/iso19139.geobru/loc/no/ schemaPlugins/trunk/geobru/iso19139.geobru/loc/no/codelists.xml schemaPlugins/trunk/geobru/iso19139.geobru/loc/no/labels.xml schemaPlugins/trunk/geobru/iso19139.geobru/loc/no/strings.xml schemaPlugins/trunk/geobru/iso19139.geobru/loc/pt/ schemaPlugins/trunk/geobru/iso19139.geobru/loc/pt/codelists.xml schemaPlugins/trunk/geobru/iso19139.geobru/loc/pt/labels.xml schemaPlugins/trunk/geobru/iso19139.geobru/loc/pt/strings.xml schemaPlugins/trunk/geobru/iso19139.geobru/loc/ru/ schemaPlugins/trunk/geobru/iso19139.geobru/loc/ru/codelists.xml schemaPlugins/trunk/geobru/iso19139.geobru/loc/ru/labels.xml schemaPlugins/trunk/geobru/iso19139.geobru/loc/ru/strings.xml schemaPlugins/trunk/geobru/iso19139.geobru/oasis-catalog.xml schemaPlugins/trunk/geobru/iso19139.geobru/present/ schemaPlugins/trunk/geobru/iso19139.geobru/present/csw/ schemaPlugins/trunk/geobru/iso19139.geobru/present/csw/geobru-brief.xsl schemaPlugins/trunk/geobru/iso19139.geobru/present/csw/geobru-full.xsl schemaPlugins/trunk/geobru/iso19139.geobru/present/csw/geobru-summary.xsl schemaPlugins/trunk/geobru/iso19139.geobru/present/csw/iso-brief.xsl schemaPlugins/trunk/geobru/iso19139.geobru/present/csw/iso-full.xsl schemaPlugins/trunk/geobru/iso19139.geobru/present/csw/iso-summary.xsl schemaPlugins/trunk/geobru/iso19139.geobru/present/csw/ogc-brief.xsl schemaPlugins/trunk/geobru/iso19139.geobru/present/csw/ogc-full.xsl schemaPlugins/trunk/geobru/iso19139.geobru/present/csw/ogc-summary.xsl schemaPlugins/trunk/geobru/iso19139.geobru/present/metadata-iso19139.geobru-edit.xsl schemaPlugins/trunk/geobru/iso19139.geobru/present/metadata-iso19139.geobru-view.xsl schemaPlugins/trunk/geobru/iso19139.geobru/present/metadata-iso19139.geobru.xsl schemaPlugins/trunk/geobru/iso19139.geobru/process/ schemaPlugins/trunk/geobru/iso19139.geobru/process/add-extent-from-geokeywords.xsl schemaPlugins/trunk/geobru/iso19139.geobru/process/add-info-from-wms.xsl schemaPlugins/trunk/geobru/iso19139.geobru/process/add-service-info-from-wxs.xsl schemaPlugins/trunk/geobru/iso19139.geobru/process/anonymizer.xsl schemaPlugins/trunk/geobru/iso19139.geobru/process/inspire-add-conformity.xsl schemaPlugins/trunk/geobru/iso19139.geobru/process/inspire-themes-and-topiccategory.xsl schemaPlugins/trunk/geobru/iso19139.geobru/process/keywords-comma-exploder.xsl schemaPlugins/trunk/geobru/iso19139.geobru/process/keywords-mapper.xsl schemaPlugins/trunk/geobru/iso19139.geobru/process/linked-data-checker.xsl schemaPlugins/trunk/geobru/iso19139.geobru/process/process-utility.xsl schemaPlugins/trunk/geobru/iso19139.geobru/process/related-metadata-checker.xsl schemaPlugins/trunk/geobru/iso19139.geobru/process/scale-denominator-formatter.xsl schemaPlugins/trunk/geobru/iso19139.geobru/process/thumbnails-host-url-relocator.xsl schemaPlugins/trunk/geobru/iso19139.geobru/process/update-onlineSrc.xsl schemaPlugins/trunk/geobru/iso19139.geobru/process/update-srv-attachDataset.xsl schemaPlugins/trunk/geobru/iso19139.geobru/process/update-srv-detachDataset.xsl schemaPlugins/trunk/geobru/iso19139.geobru/process/xlinks-href-update.xsl schemaPlugins/trunk/geobru/iso19139.geobru/sample-data/ schemaPlugins/trunk/geobru/iso19139.geobru/sample-data/iso19139.geobru-bruxelles.mef schemaPlugins/trunk/geobru/iso19139.geobru/schema/ schemaPlugins/trunk/geobru/iso19139.geobru/schema/extensions/ schemaPlugins/trunk/geobru/iso19139.geobru/schema/extensions/geobruExtensions.xsd schemaPlugins/trunk/geobru/iso19139.geobru/schema/extensions/geobruExtensionsServices.xsd schemaPlugins/trunk/geobru/iso19139.geobru/schema/gco/ schemaPlugins/trunk/geobru/iso19139.geobru/schema/gco/basicTypes.xsd schemaPlugins/trunk/geobru/iso19139.geobru/schema/gco/gco.xsd schemaPlugins/trunk/geobru/iso19139.geobru/schema/gco/gcoBase.xsd schemaPlugins/trunk/geobru/iso19139.geobru/schema/gfc/ schemaPlugins/trunk/geobru/iso19139.geobru/schema/gfc/gfc.xsd schemaPlugins/trunk/geobru/iso19139.geobru/schema/gmd/ schemaPlugins/trunk/geobru/iso19139.geobru/schema/gmd/applicationSchema.xsd schemaPlugins/trunk/geobru/iso19139.geobru/schema/gmd/citation.xsd schemaPlugins/trunk/geobru/iso19139.geobru/schema/gmd/constraints.xsd schemaPlugins/trunk/geobru/iso19139.geobru/schema/gmd/content.xsd schemaPlugins/trunk/geobru/iso19139.geobru/schema/gmd/dataQuality.xsd schemaPlugins/trunk/geobru/iso19139.geobru/schema/gmd/distribution.xsd schemaPlugins/trunk/geobru/iso19139.geobru/schema/gmd/extent.xsd schemaPlugins/trunk/geobru/iso19139.geobru/schema/gmd/freeText.xsd schemaPlugins/trunk/geobru/iso19139.geobru/schema/gmd/gmd.xsd schemaPlugins/trunk/geobru/iso19139.geobru/schema/gmd/identification.xsd schemaPlugins/trunk/geobru/iso19139.geobru/schema/gmd/maintenance.xsd schemaPlugins/trunk/geobru/iso19139.geobru/schema/gmd/metadataApplication.xsd schemaPlugins/trunk/geobru/iso19139.geobru/schema/gmd/metadataEntity.xsd schemaPlugins/trunk/geobru/iso19139.geobru/schema/gmd/metadataExtension.xsd schemaPlugins/trunk/geobru/iso19139.geobru/schema/gmd/portrayalCatalogue.xsd schemaPlugins/trunk/geobru/iso19139.geobru/schema/gmd/referenceSystem.xsd schemaPlugins/trunk/geobru/iso19139.geobru/schema/gmd/spatialRepresentation.xsd schemaPlugins/trunk/geobru/iso19139.geobru/schema/gml/ schemaPlugins/trunk/geobru/iso19139.geobru/schema/gml/basicTypes.xsd schemaPlugins/trunk/geobru/iso19139.geobru/schema/gml/coordinateOperations.xsd schemaPlugins/trunk/geobru/iso19139.geobru/schema/gml/coordinateReferenceSystems.xsd schemaPlugins/trunk/geobru/iso19139.geobru/schema/gml/coordinateSystems.xsd schemaPlugins/trunk/geobru/iso19139.geobru/schema/gml/coverage.xsd schemaPlugins/trunk/geobru/iso19139.geobru/schema/gml/datums.xsd schemaPlugins/trunk/geobru/iso19139.geobru/schema/gml/dictionary.xsd schemaPlugins/trunk/geobru/iso19139.geobru/schema/gml/direction.xsd schemaPlugins/trunk/geobru/iso19139.geobru/schema/gml/dynamicFeature.xsd schemaPlugins/trunk/geobru/iso19139.geobru/schema/gml/feature.xsd schemaPlugins/trunk/geobru/iso19139.geobru/schema/gml/geometryAggregates.xsd schemaPlugins/trunk/geobru/iso19139.geobru/schema/gml/geometryBasic0d1d.xsd schemaPlugins/trunk/geobru/iso19139.geobru/schema/gml/geometryBasic2d.xsd schemaPlugins/trunk/geobru/iso19139.geobru/schema/gml/geometryComplexes.xsd schemaPlugins/trunk/geobru/iso19139.geobru/schema/gml/geometryPrimitives.xsd schemaPlugins/trunk/geobru/iso19139.geobru/schema/gml/gml.xsd schemaPlugins/trunk/geobru/iso19139.geobru/schema/gml/gmlBase.xsd schemaPlugins/trunk/geobru/iso19139.geobru/schema/gml/grids.xsd schemaPlugins/trunk/geobru/iso19139.geobru/schema/gml/measures.xsd schemaPlugins/trunk/geobru/iso19139.geobru/schema/gml/observation.xsd schemaPlugins/trunk/geobru/iso19139.geobru/schema/gml/readme.txt schemaPlugins/trunk/geobru/iso19139.geobru/schema/gml/referenceSystems.xsd schemaPlugins/trunk/geobru/iso19139.geobru/schema/gml/temporal.xsd schemaPlugins/trunk/geobru/iso19139.geobru/schema/gml/temporalReferenceSystems.xsd schemaPlugins/trunk/geobru/iso19139.geobru/schema/gml/temporalTopology.xsd schemaPlugins/trunk/geobru/iso19139.geobru/schema/gml/topology.xsd schemaPlugins/trunk/geobru/iso19139.geobru/schema/gml/units.xsd schemaPlugins/trunk/geobru/iso19139.geobru/schema/gml/valueObjects.xsd schemaPlugins/trunk/geobru/iso19139.geobru/schema/gmx/ schemaPlugins/trunk/geobru/iso19139.geobru/schema/gmx/catalogues.xsd schemaPlugins/trunk/geobru/iso19139.geobru/schema/gmx/codelistItem.xsd schemaPlugins/trunk/geobru/iso19139.geobru/schema/gmx/crsItem.xsd schemaPlugins/trunk/geobru/iso19139.geobru/schema/gmx/extendedTypes.xsd schemaPlugins/trunk/geobru/iso19139.geobru/schema/gmx/gmx.xsd schemaPlugins/trunk/geobru/iso19139.geobru/schema/gmx/gmxUsage.xsd schemaPlugins/trunk/geobru/iso19139.geobru/schema/gmx/uomItem.xsd schemaPlugins/trunk/geobru/iso19139.geobru/schema/gsr/ schemaPlugins/trunk/geobru/iso19139.geobru/schema/gsr/gsr.xsd schemaPlugins/trunk/geobru/iso19139.geobru/schema/gsr/spatialReferencing.xsd schemaPlugins/trunk/geobru/iso19139.geobru/schema/gss/ schemaPlugins/trunk/geobru/iso19139.geobru/schema/gss/geometry.xsd schemaPlugins/trunk/geobru/iso19139.geobru/schema/gss/gss.xsd schemaPlugins/trunk/geobru/iso19139.geobru/schema/gts/ schemaPlugins/trunk/geobru/iso19139.geobru/schema/gts/gts.xsd schemaPlugins/trunk/geobru/iso19139.geobru/schema/gts/temporalObjects.xsd schemaPlugins/trunk/geobru/iso19139.geobru/schema/resources/ schemaPlugins/trunk/geobru/iso19139.geobru/schema/resources/Codelist/ schemaPlugins/trunk/geobru/iso19139.geobru/schema/resources/Codelist/ML_gmxCodelists.xml schemaPlugins/trunk/geobru/iso19139.geobru/schema/resources/Codelist/gmxCodelists.xml schemaPlugins/trunk/geobru/iso19139.geobru/schema/resources/crs/ schemaPlugins/trunk/geobru/iso19139.geobru/schema/resources/crs/ML_gmxCrs.xml schemaPlugins/trunk/geobru/iso19139.geobru/schema/resources/crs/gmxCrs.xml schemaPlugins/trunk/geobru/iso19139.geobru/schema/resources/uom/ schemaPlugins/trunk/geobru/iso19139.geobru/schema/resources/uom/ML_gmxUom.xml schemaPlugins/trunk/geobru/iso19139.geobru/schema/resources/uom/gmxUom.xml schemaPlugins/trunk/geobru/iso19139.geobru/schema/srv/ schemaPlugins/trunk/geobru/iso19139.geobru/schema/srv/serviceMetadata.xsd schemaPlugins/trunk/geobru/iso19139.geobru/schema/srv/serviceModel.xsd schemaPlugins/trunk/geobru/iso19139.geobru/schema/srv/srv.xsd schemaPlugins/trunk/geobru/iso19139.geobru/schema/xlink/ schemaPlugins/trunk/geobru/iso19139.geobru/schema/xlink/version.txt schemaPlugins/trunk/geobru/iso19139.geobru/schema/xlink/xlinks.xsd schemaPlugins/trunk/geobru/iso19139.geobru/schema-ident.xml schemaPlugins/trunk/geobru/iso19139.geobru/schema-substitutes.xml schemaPlugins/trunk/geobru/iso19139.geobru/schema-suggestions.xml schemaPlugins/trunk/geobru/iso19139.geobru/schema.xsd schemaPlugins/trunk/geobru/iso19139.geobru/set-thumbnail.xsl schemaPlugins/trunk/geobru/iso19139.geobru/set-uuid.xsl schemaPlugins/trunk/geobru/iso19139.geobru/suggest.xsl schemaPlugins/trunk/geobru/iso19139.geobru/templates/ schemaPlugins/trunk/geobru/iso19139.geobru/templates/service.xml schemaPlugins/trunk/geobru/iso19139.geobru/templates/vector-multilingual.xml schemaPlugins/trunk/geobru/iso19139.geobru/templates/vector.xml schemaPlugins/trunk/geobru/iso19139.geobru/unset-thumbnail.xsl schemaPlugins/trunk/geobru/iso19139.geobru/update-child-from-parent-info.xsl schemaPlugins/trunk/geobru/iso19139.geobru/update-fixed-info.xsl schemaPlugins/trunk/geobru/schemaplugin-uri-catalog.xml Added: schemaPlugins/trunk/geobru/geobru-pluginprofile-documentation.txt =================================================================== --- schemaPlugins/trunk/geobru/geobru-pluginprofile-documentation.txt (rev 0) +++ schemaPlugins/trunk/geobru/geobru-pluginprofile-documentation.txt 2012-02-21 15:32:44 UTC (rev 8719) @@ -0,0 +1,65 @@ +Creating the GeoBRU plugin profile of ISO19139 + +This document outlines the steps I've taken to create a GeoNetwork plugin profile of the GeoBRU profile for ISO19139. + +0. In this directory + +- this document ; +- the plugin profile: directory iso19139.geobru +- file schemaplugin-uri-catalog.xml +- to load this profile on GeoNetwork startup, you need to + a. copy the plugin profile to <geonetwork-installation>/web/geonetwork/xml/schemas + b. copy file schemaplugin-uri-catalog.xml to <geonetwork-installation>/web/geonetwork/WEB-INF + +1. Obtain and prepare the XSDs. + +Downloaded them from + +http://staging.gis.irisnet.be/geonetwork/xml/schemas/iso19139.geobru/schema/geobru/geobruExtensions.xsd + +and + +http://staging.gis.irisnet.be/geonetwork/xml/schemas/iso19139.geobru/schema/geobru/geobruExtensionsServices.xsd + +As there is a reference to a local copy of the gfc XSD, I downloaded that one also. Adjusted the schemalocations to be correct +for all the local XSDs. + +2. Create a profile directory and follow the steps outlined in the User Manual about how to create a plugin profile + +Won't repeat the complete User Manual documentation here, but some specific points: + +- added a reference to the GeoBRU schema plugin to WEB-INF/schemaplugin-uri-catalog.xml +- created a way to recognize documents as being GeoBRU, in schema-ident.xsl +- created a GeoBRU template containing all the extension elements for datasets, based on the standard ISO19139 template for Vector metadata +- created a GeoBRU template containing all the extension elements for datasets, based on the standard Multilingual ISO19139 template for Vector metadata +- created a GeoBRU template containing all the extension elements for services, based on the standard ISO19139 template for Services metadata +- added sections in metadata-iso19139.geobru.xsl to enable the GeoNetwork editor and view to display the GeoBRU extension elements +- for the featureType element, I copied the featureType elements from the template in the ISO19110 schema directory. + +3. CSW output + +To preserve interoperability, changed the iso*.xsl files in /present/csw so that they convert the GeoBRU extension elements back to their +standard ISO19139 equivalents, losing the information specific to GeoBRU in the process. + +To enable CSW exchange in GeoBRU profile format, added the geobru*.xsl files in /present/csw. + +4. MEF export + +To preserve interoperability, added /convert/to19139.xsl, which converts the GeoBRU extension elements back to their +standard ISO19139 equivalents, losing the information specific to GeoBRU in the process. + +5. Localisation + +Applied the provided labels.xml for French, Dutch and English. The entries for geobru:individualEmailAddress did not work, fixed them by +setting the correct context attribute. The labels for gfc:featureType are missing, so I appended the labels from the iso19110 schema to the labels file (French only), +but for some reason that doesn't work. TO DO find out. + +6. Sample metadata + +Created a MEF file with sample metadata for GeoBRU. + + + + + + Property changes on: schemaPlugins/trunk/geobru/geobru-pluginprofile-documentation.txt ___________________________________________________________________ Added: svn:eol-style + native Added: schemaPlugins/trunk/geobru/iso19139.geobru/convert/19119ToJZKitRepository.xsl =================================================================== --- schemaPlugins/trunk/geobru/iso19139.geobru/convert/19119ToJZKitRepository.xsl (rev 0) +++ schemaPlugins/trunk/geobru/iso19139.geobru/convert/19119ToJZKitRepository.xsl 2012-02-21 15:32:44 UTC (rev 8719) @@ -0,0 +1,53 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" + xmlns:gco="http://www.isotc211.org/2005/gco" + xmlns:srv="http://www.isotc211.org/2005/srv" + xmlns:gmd="http://www.isotc211.org/2005/gmd" + exclude-result-prefixes="gmd gco srv"> + + <xsl:output method="xml" indent="yes"/> + + <xsl:template match="/gmd:MD_Metadata"> + + <xsl:variable name="recordType" select="*/srv:SV_ServiceIdentification/srv:serviceType/gco:LocalName"/> + <xsl:if test="$recordType!='Z3950' and $recordType!='ISO 23950 gateway'"> + <error>Incompatible</error> + </xsl:if> + + <xsl:for-each select="*/srv:SV_ServiceIdentification"> + + <xsl:variable name="code" select="../../gmd:fileIdentifier/gco:CharacterString"/> + <xsl:variable name="serviceName" select="normalize-space(gmd:citation//gmd:title/gco:CharacterString)"/> + <xsl:variable name="preference" select="normalize-space(substring-after(srv:containsOperations//srv:connectPoint//gmd:linkage/gmd:URL,'z3950://'))"/> + + <xsl:variable name="hostPart" select="substring-before($preference,'/')"/> + + <xsl:comment>Entry for <xsl:value-of select="$serviceName"/></xsl:comment> + + <Repository className="org.jzkit.search.provider.z3950.Z3950Origin" code="{$code}" serviceName="{$serviceName}"> + <Preferences> + <Preference name="defaultRecordSyntax">xml</Preference> + <Preference name="defaultElementSetName">s</Preference> + <Preference name="host"><xsl:value-of select="substring-before($hostPart,':')"/></Preference> + <Preference name="port"><xsl:value-of select="substring-after($hostPart,':')"/></Preference> + <Preference name="smallSetElementSetName">F</Preference> + <Preference name="charsetEncoding">UTF-8</Preference> + <Preference name="useReferenceId">negotiate</Preference> + </Preferences> + <RecordArchetypes> + <Archetype name="F">xml::f</Archetype> + <Archetype name="H">html::f</Archetype> + </RecordArchetypes> + + <Collections> + <xsl:for-each select="srv:containsOperations//srv:connectPoint//gmd:linkage/gmd:URL"> + <xsl:variable name="code" select="substring-after(.,'z3950://')"/> + <Collection code="{substring-after($code,'/')}" name="{$serviceName}" localId="{substring-after($code,'/')}" profile="geo"/> + </xsl:for-each> + </Collections> + </Repository> + </xsl:for-each> + </xsl:template> + +</xsl:stylesheet> Property changes on: schemaPlugins/trunk/geobru/iso19139.geobru/convert/19119ToJZKitRepository.xsl ___________________________________________________________________ Added: svn:eol-style + native Added: schemaPlugins/trunk/geobru/iso19139.geobru/convert/CDMCoords-to-ISO19139Keywords.xsl =================================================================== --- schemaPlugins/trunk/geobru/iso19139.geobru/convert/CDMCoords-to-ISO19139Keywords.xsl (rev 0) +++ schemaPlugins/trunk/geobru/iso19139.geobru/convert/CDMCoords-to-ISO19139Keywords.xsl 2012-02-21 15:32:44 UTC (rev 8719) @@ -0,0 +1,60 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- Mapping between netcdfDatasetInfo and ISO19139 keywords --> +<xsl:stylesheet version="2.0" + xmlns:gmd="http://www.isotc211.org/2005/gmd" + xmlns:gco="http://www.isotc211.org/2005/gco" + xmlns:gts="http://www.isotc211.org/2005/gts" + xmlns:gml="http://www.opengis.net/gml" + xmlns:srv="http://www.isotc211.org/2005/srv" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xmlns:util="java:java.util.UUID" + xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns:xlink="http://www.w3.org/1999/xlink" + exclude-result-prefixes="util"> + + <!-- ==================================================================== --> + + <xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes" /> + + <!-- ==================================================================== --> + + <xsl:template match="*"> + + <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> + + <gmd:descriptiveKeywords> + <gmd:MD_Keywords> + + <xsl:for-each select="variable"> + <gmd:keyword> + <gco:CharacterString><xsl:value-of select="concat(@name,' ',@long_name,' ',@decl)"/></gco:CharacterString> + </gmd:keyword> + </xsl:for-each> + + <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> + + <gmd:type> + <gmd:MD_KeywordTypeCode codeList="http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#MD_KeywordTypeCode" codeListValue="theme"/> + </gmd:type> + + <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> + + <gmd:thesaurusName> + <gmd:CI_Citation> + <gmd:title> + <gco:CharacterString><xsl:value-of select="concat(convention/@name,' (see http://www.unidata.ucar.edu/software/netcdf/conventions.html for more info on some conventions and adding conventions to the Unidata netcdf-4.0 Java library)')"/></gco:CharacterString> + </gmd:title> + <gmd:alternateTitle> + <gco:CharacterString>Data Parameters/Variables following the <xsl:value-of select="convention/@name"/> conventions</gco:CharacterString> + </gmd:alternateTitle> + </gmd:CI_Citation> + </gmd:thesaurusName> + + </gmd:MD_Keywords> + </gmd:descriptiveKeywords> + + </xsl:template> + + <!-- ============================================================================= --> + +</xsl:stylesheet> Property changes on: schemaPlugins/trunk/geobru/iso19139.geobru/convert/CDMCoords-to-ISO19139Keywords.xsl ___________________________________________________________________ Added: svn:eol-style + native Added: schemaPlugins/trunk/geobru/iso19139.geobru/convert/DIFToISO.xsl =================================================================== --- schemaPlugins/trunk/geobru/iso19139.geobru/convert/DIFToISO.xsl (rev 0) +++ schemaPlugins/trunk/geobru/iso19139.geobru/convert/DIFToISO.xsl 2012-02-21 15:32:44 UTC (rev 8719) @@ -0,0 +1,3484 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- ====================================================== --> +<!-- A translator for DIF (GCMD) to ISO 19115 --> +<!-- Written by Dave Connell (Australian Antarctic Data Centre) and Andy Townsend (Australian Antarctic Data Centre) --> +<!-- Released on the 5th of June, 2008. Last updated on the 6th of March, 2009 --> +<!-- Version 2.1 --> +<!-- ====================================================== --> + +<!-- Trap for young players - name space definitions must match those served out of geoserver --> +<xsl:stylesheet version="2.0" + xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns:gco="http://www.isotc211.org/2005/gco" + xmlns:gmd="http://www.isotc211.org/2005/gmd" + xmlns:gml="http://www.opengis.net/gml" + xmlns:dif="http://gcmd.gsfc.nasa.gov/Aboutus/xml/dif/" + xmlns:fn="http://www.w3.org/2005/02/xpath-functions" + xmlns:util="java:java.util.UUID" + exclude-result-prefixes="dif fn util"> + + <xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes" media-type="text/plain"/> + <!--<xsl:strip-space elements="*"/> --> + + <!-- MATCH ROOT DIF --> + <xsl:template match="dif:DIF"> + + <!-- PRINT Dataset HEADER MATERIAL --> + <gmd:MD_Metadata> + + <gmd:fileIdentifier> + <gco:CharacterString> + <xsl:value-of select="dif:Entry_ID"/> + </gco:CharacterString> + </gmd:fileIdentifier> + + <gmd:language> + <gco:CharacterString>eng</gco:CharacterString> + </gmd:language> + + <gmd:characterSet> + <gmd:MD_CharacterSetCode codeListValue="utf8" codeList="http://asdd.ga.gov.au/asdd/profileinfo/gmxCodelists.xml#MD_CharacterSetCode"/> + </gmd:characterSet> + + <xsl:if test="dif:Parent_DIF!=''"> + <gmd:parentIdentifier> + <gco:CharacterString> + <xsl:value-of select="dif:Parent_DIF"/> + </gco:CharacterString> + </gmd:parentIdentifier> + </xsl:if> + + <gmd:hierarchyLevel> + <gmd:MD_ScopeCode codeList="http://asdd.ga.gov.au/asdd/profileinfo/gmxCodelists.xml#MD_ScopeCode" codeListValue="dataset"/> + </gmd:hierarchyLevel> + + <xsl:for-each select="dif:Personnel"> + + <xsl:choose> + <xsl:when test="contains(.,'DIF AUTHOR')"> + + <xsl:for-each select="dif:Role"> + <xsl:if test=".='DIF AUTHOR'"> + <gmd:contact> + <gmd:CI_ResponsibleParty> + <gmd:individualName> + <gco:CharacterString> + <xsl:value-of select="../dif:Last_Name"></xsl:value-of>, <xsl:value-of select="../dif:First_Name"></xsl:value-of> + </gco:CharacterString> + </gmd:individualName> + + <xsl:if test="../dif:Phone!='' or ../dif:Fax!='' or ../dif:Contact_Address/dif:Address!='' or ../dif:Contact_Address/dif:City!='' or ../dif:Contact_Address/dif:Province_or_State!='' or ../dif:Contact_Address/dif:Postal_Code!='' or ../dif:Contact_Address/dif:Country!='' or ../dif:Email!=''"> + + <gmd:contactInfo> + <gmd:CI_Contact> + + <xsl:if test="../dif:Phone!='' or ../dif:Fax!=''"> + <gmd:phone> + <gmd:CI_Telephone> + <xsl:for-each select="../dif:Phone"> + <gmd:voice> + <gco:CharacterString> + <xsl:value-of select="."/> + </gco:CharacterString> + </gmd:voice> + </xsl:for-each> + <xsl:for-each select="../dif:Fax"> + <gmd:facsimile> + <gco:CharacterString> + <xsl:value-of select="."/> + </gco:CharacterString> + </gmd:facsimile> + </xsl:for-each> + </gmd:CI_Telephone> + </gmd:phone> + </xsl:if> + + <xsl:if test="../dif:Contact_Address/dif:Address!='' or ../dif:Contact_Address/dif:City!='' or ../dif:Contact_Address/dif:Province_or_State!='' or ../dif:Contact_Address/dif:Postal_Code!='' or ../dif:Contact_Address/dif:Country!='' or ../dif:Email!=''"> + <gmd:address> + <gmd:CI_Address> + <xsl:for-each select="../dif:Contact_Address/dif:Address"> + <gmd:deliveryPoint> + <gco:CharacterString> + <xsl:value-of select="."/> + </gco:CharacterString> + </gmd:deliveryPoint> + </xsl:for-each> + <xsl:if test="../dif:Contact_Address/dif:City!=''"> + <gmd:city> + <gco:CharacterString> + <xsl:value-of select="../dif:Contact_Address/dif:City"/> + </gco:CharacterString> + </gmd:city> + </xsl:if> + <xsl:if test="../dif:Contact_Address/dif:Province_or_State!=''"> + <gmd:administrativeArea> + <gco:CharacterString> + <xsl:value-of select="../dif:Contact_Address/dif:Province_or_State"/> + </gco:CharacterString> + </gmd:administrativeArea> + </xsl:if> + <xsl:if test="../dif:Contact_Address/dif:Postal_Code!=''"> + <gmd:postalCode> + <gco:CharacterString> + <xsl:value-of select="../dif:Contact_Address/dif:Postal_Code"/> + </gco:CharacterString> + </gmd:postalCode> + </xsl:if> + <xsl:if test="../dif:Contact_Address/dif:Country!=''"> + <gmd:country> + <gco:CharacterString> + <xsl:value-of select="../dif:Contact_Address/dif:Country"/> + </gco:CharacterString> + </gmd:country> + </xsl:if> + <xsl:for-each select="../dif:Email"> + <gmd:electronicMailAddress> + <gco:CharacterString> + <xsl:value-of select="."/> + </gco:CharacterString> + </gmd:electronicMailAddress> + </xsl:for-each> + </gmd:CI_Address> + </gmd:address> + </xsl:if> + + </gmd:CI_Contact> + </gmd:contactInfo> + + </xsl:if> + + <gmd:role> + <gmd:CI_RoleCode codeList="http://asdd.ga.gov.au/asdd/profileinfo/gmxCodelists.xml#CI_RoleCode" codeListValue="author"/> + </gmd:role> + </gmd:CI_ResponsibleParty> + </gmd:contact> + </xsl:if> + </xsl:for-each> + + </xsl:when> + <xsl:otherwise> + + <gmd:contact> + <gmd:CI_ResponsibleParty> + <gmd:individualName gco:nilReason="missing"> + <gco:CharacterString/> + </gmd:individualName> + <gmd:role> + <gmd:CI_RoleCode codeList="http://asdd.ga.gov.au/asdd/profileinfo/gmxCodelists.xml#CI_RoleCode" codeListValue="author"/> + </gmd:role> + </gmd:CI_ResponsibleParty> + </gmd:contact> + + </xsl:otherwise> + </xsl:choose> + + </xsl:for-each> + + <xsl:if test="dif:Originating_Metadata_Node!=''"> + <gmd:contact> + <gmd:CI_ResponsibleParty> + <gmd:organisationName> + <gco:CharacterString> + <xsl:value-of select="dif:Originating_Metadata_Node"/> + </gco:CharacterString> + </gmd:organisationName> + <gmd:role> + <gmd:CI_RoleCode codeList="http://asdd.ga.gov.au/asdd/profileinfo/gmxCodelists.xml#CI_RoleCode" codeListValue="originator"/> + </gmd:role> + </gmd:CI_ResponsibleParty> + </gmd:contact> + </xsl:if> + + <xsl:choose> + <xsl:when test="dif:DIF_Creation_Date!=''"> + <gmd:dateStamp> + <gco:Date> + <xsl:value-of select="dif:DIF_Creation_Date"/> + </gco:Date> + </gmd:dateStamp> + </xsl:when> + <xsl:when test="dif:DIF_Creation_Date=''"> + <gmd:dateStamp> + <gco:Date>Unknown + </gco:Date> + </gmd:dateStamp> + </xsl:when> + <xsl:otherwise> + <gmd:dateStamp> + <gco:Date>Unknown + </gco:Date> + </gmd:dateStamp> + </xsl:otherwise> + </xsl:choose> + + <gmd:metadataStandardName> + <gco:CharacterString> + <xsl:value-of select="dif:Metadata_Name"/> + </gco:CharacterString> + </gmd:metadataStandardName> + + <gmd:metadataStandardVersion> + <gco:CharacterString> + <xsl:value-of select="dif:Metadata_Version"/> + </gco:CharacterString> + </gmd:metadataStandardVersion> + + <gmd:identificationInfo> + <gmd:MD_DataIdentification> + <gmd:citation> + <gmd:CI_Citation> + + <gmd:title> + <gco:CharacterString> + <xsl:value-of select="dif:Entry_Title"/> + </gco:CharacterString> + </gmd:title> + + <xsl:if test="dif:Data_Set_Citation/dif:Dataset_Title!=''"> + <xsl:for-each select="dif:Data_Set_Citation"> + <gmd:alternateTitle> + <gco:CharacterString> + <xsl:value-of select="./dif:Dataset_Title"/> + </gco:CharacterString> + </gmd:alternateTitle> + </xsl:for-each> + </xsl:if> + + <xsl:choose> + <xsl:when test="dif:DIF_Creation_Date!=''"> + <gmd:date> + <gmd:CI_Date> + <gmd:date> + <gco:Date> + <xsl:value-of select="dif:DIF_Creation_Date"/> + </gco:Date> + </gmd:date> + <gmd:dateType> + <gmd:CI_DateTypeCode codeList="http://asdd.ga.gov.au/asdd/profileinfo/gmxCodelists.xml#CI_DateTypeCode" codeListValue="publication"/> + </gmd:dateType> + </gmd:CI_Date> + </gmd:date> + </xsl:when> + <xsl:when test="dif:DIF_Creation_Date=''"> + <gmd:date> + <gmd:CI_Date> + <gmd:date> + <gco:Date>Unknown + </gco:Date> + </gmd:date> + <gmd:dateType> + <gmd:CI_DateTypeCode codeList="http://asdd.ga.gov.au/asdd/profileinfo/gmxCodelists.xml#CI_DateTypeCode" codeListValue="publication"/> + </gmd:dateType> + </gmd:CI_Date> + </gmd:date> + </xsl:when> + <xsl:otherwise> + <gmd:date> + <gmd:CI_Date> + <gmd:date> + <gco:Date>Unknown + </gco:Date> + </gmd:date> + <gmd:dateType> + <gmd:CI_DateTypeCode codeList="http://asdd.ga.gov.au/asdd/profileinfo/gmxCodelists.xml#CI_DateTypeCode" codeListValue="publication"/> + </gmd:dateType> + </gmd:CI_Date> + </gmd:date> + </xsl:otherwise> + </xsl:choose> + + <xsl:if test="dif:Data_Set_Citation/dif:Version!=''"> + <gmd:edition> + <gco:CharacterString> + <xsl:value-of select="dif:Data_Set_Citation/dif:Version"/> + </gco:CharacterString> + </gmd:edition> + </xsl:if> + + <xsl:if test="dif:Data_Center/dif:Data_Set_ID!=''"> + <xsl:for-each select="dif:Data_Center/dif:Data_Set_ID"> + <gmd:identifier> + <gmd:MD_Identifier> + <gmd:code> + <gco:CharacterString> + <xsl:value-of select="."/> + </gco:CharacterString> + </gmd:code> + </gmd:MD_Identifier> + </gmd:identifier> + </xsl:for-each> + </xsl:if> + + <xsl:if test="dif:Personnel!=''"> + + <xsl:for-each select="dif:Personnel"> + <xsl:for-each select="dif:Role"> + <xsl:if test=".='INVESTIGATOR'"> + <gmd:citedResponsibleParty> + <gmd:CI_ResponsibleParty> + <gmd:individualName> + <gco:CharacterString> + <xsl:value-of select="../dif:Last_Name"/>, <xsl:value-of select="../dif:First_Name"/> + </gco:CharacterString> + </gmd:individualName> + + <xsl:if test="../dif:Phone!='' or ../dif:Fax!='' or ../dif:Contact_Address/dif:Address!='' or ../dif:Contact_Address/dif:City!='' or ../dif:Contact_Address/dif:Province_or_State!='' or ../dif:Contact_Address/dif:Postal_Code!='' or ../dif:Contact_Address/dif:Country!='' or ../dif:Email!=''"> + + <gmd:contactInfo> + <gmd:CI_Contact> + + <xsl:if test="../dif:Phone!='' or ../dif:Fax!=''"> + <gmd:phone> + <gmd:CI_Telephone> + <xsl:for-each select="../dif:Phone"> + <gmd:voice> + <gco:CharacterString> + <xsl:value-of select="."/> + </gco:CharacterString> + </gmd:voice> + </xsl:for-each> + <xsl:for-each select="../dif:Fax"> + <gmd:facsimile> + <gco:CharacterString> + <xsl:value-of select="."/> + </gco:CharacterString> + </gmd:facsimile> + </xsl:for-each> + </gmd:CI_Telephone> + </gmd:phone> + </xsl:if> + + <xsl:if test="../dif:Contact_Address/dif:Address!='' or ../dif:Contact_Address/dif:City!='' or ../dif:Contact_Address/dif:Province_or_State!='' or ../dif:Contact_Address/dif:Postal_Code!='' or ../dif:Contact_Address/dif:Country!='' or ../dif:Email!=''"> + <gmd:address> + <gmd:CI_Address> + <xsl:for-each select="../dif:Contact_Address/dif:Address"> + <gmd:deliveryPoint> + <gco:CharacterString> + <xsl:value-of select="."/> + </gco:CharacterString> + </gmd:deliveryPoint> + </xsl:for-each> + <xsl:if test="../dif:Contact_Address/dif:City!=''"> + <gmd:city> + <gco:CharacterString> + <xsl:value-of select="../dif:Contact_Address/dif:City"/> + </gco:CharacterString> + </gmd:city> + </xsl:if> + <xsl:if test="../dif:Contact_Address/dif:Province_or_State!=''"> + <gmd:administrativeArea> + <gco:CharacterString> + <xsl:value-of select="../dif:Contact_Address/dif:Province_or_State"/> + </gco:CharacterString> + </gmd:administrativeArea> + </xsl:if> + <xsl:if test="../dif:Contact_Address/dif:Postal_Code!=''"> + <gmd:postalCode> + <gco:CharacterString> + <xsl:value-of select="../dif:Contact_Address/dif:Postal_Code"/> + </gco:CharacterString> + </gmd:postalCode> + </xsl:if> + <xsl:if test="../dif:Contact_Address/dif:Country!=''"> + <gmd:country> + <gco:CharacterString> + <xsl:value-of select="../dif:Contact_Address/dif:Country"/> + </gco:CharacterString> + </gmd:country> + </xsl:if> + <xsl:for-each select="../dif:Email"> + <gmd:electronicMailAddress> + <gco:CharacterString> + <xsl:value-of select="."/> + </gco:CharacterString> + </gmd:electronicMailAddress> + </xsl:for-each> + </gmd:CI_Address> + </gmd:address> + </xsl:if> + + </gmd:CI_Contact> + </gmd:contactInfo> + + </xsl:if> + + <gmd:role> + <gmd:CI_RoleCode codeList="http://asdd.ga.gov.au/asdd/profileinfo/gmxCodelists.xml#CI_RoleCode" codeListValue="principalInvestigator"/> + </gmd:role> + </gmd:CI_ResponsibleParty> + </gmd:citedResponsibleParty> + </xsl:if> + </xsl:for-each> + </xsl:for-each> + + <xsl:for-each select="dif:Personnel"> + <xsl:for-each select="dif:Role"> + <xsl:if test=".='TECHNICAL CONTACT'"> + <gmd:citedResponsibleParty> + <gmd:CI_ResponsibleParty> + <gmd:individualName> + <gco:CharacterString> + <xsl:value-of select="../dif:Last_Name"/>, <xsl:value-of select="../dif:First_Name"/> + </gco:CharacterString> + </gmd:individualName> + + <xsl:if test="../dif:Phone!='' or ../dif:Fax!='' or ../dif:Contact_Address/dif:Address!='' or ../dif:Contact_Address/dif:City!='' or ../dif:Contact_Address/dif:Province_or_State!='' or ../dif:Contact_Address/dif:Postal_Code!='' or ../dif:Contact_Address/dif:Country!='' or ../dif:Email!=''"> + + <gmd:contactInfo> + <gmd:CI_Contact> + + <xsl:if test="../dif:Phone!='' or ../dif:Fax!=''"> + <gmd:phone> + <gmd:CI_Telephone> + <xsl:for-each select="../dif:Phone"> + <gmd:voice> + <gco:CharacterString> + <xsl:value-of select="."/> + </gco:CharacterString> + </gmd:voice> + </xsl:for-each> + <xsl:for-each select="../dif:Fax"> + <gmd:facsimile> + <gco:CharacterString> + <xsl:value-of select="."/> + </gco:CharacterString> + </gmd:facsimile> + </xsl:for-each> + </gmd:CI_Telephone> + </gmd:phone> + </xsl:if> + + <xsl:if test="../dif:Contact_Address/dif:Address!='' or ../dif:Contact_Address/dif:City!='' or ../dif:Contact_Address/dif:Province_or_State!='' or ../dif:Contact_Address/dif:Postal_Code!='' or ../dif:Contact_Address/dif:Country!='' or ../dif:Email!=''"> + <gmd:address> + <gmd:CI_Address> + <xsl:for-each select="../dif:Contact_Address/dif:Address"> + <gmd:deliveryPoint> + <gco:CharacterString> + <xsl:value-of select="."/> + </gco:CharacterString> + </gmd:deliveryPoint> + </xsl:for-each> + <xsl:if test="../dif:Contact_Address/dif:City!=''"> + <gmd:city> + <gco:CharacterString> + <xsl:value-of select="../dif:Contact_Address/dif:City"/> + </gco:CharacterString> + </gmd:city> + </xsl:if> + <xsl:if test="../dif:Contact_Address/dif:Province_or_State!=''"> + <gmd:administrativeArea> + <gco:CharacterString> + <xsl:value-of select="../dif:Contact_Address/dif:Province_or_State"/> + </gco:CharacterString> + </gmd:administrativeArea> + </xsl:if> + <xsl:if test="../dif:Contact_Address/dif:Postal_Code!=''"> + <gmd:postalCode> + <gco:CharacterString> + <xsl:value-of select="../dif:Contact_Address/dif:Postal_Code"/> + </gco:CharacterString> + </gmd:postalCode> + </xsl:if> + <xsl:if test="../dif:Contact_Address/dif:Country!=''"> + <gmd:country> + <gco:CharacterString> + <xsl:value-of select="../dif:Contact_Address/dif:Country"/> + </gco:CharacterString> + </gmd:country> + </xsl:if> + <xsl:for-each select="../dif:Email"> + <gmd:electronicMailAddress> + <gco:CharacterString> + <xsl:value-of select="."/> + </gco:CharacterString> + </gmd:electronicMailAddress> + </xsl:for-each> + </gmd:CI_Address> + </gmd:address> + </xsl:if> + + </gmd:CI_Contact> + </gmd:contactInfo> + + </xsl:if> + + <gmd:role> + <gmd:CI_RoleCode codeList="http://asdd.ga.gov.au/asdd/profileinfo/gmxCodelists.xml#CI_RoleCode" codeListValue="processor"/> + </gmd:role> + </gmd:CI_ResponsibleParty> + </gmd:citedResponsibleParty> + </xsl:if> + </xsl:for-each> + </xsl:for-each> + + </xsl:if> + + <xsl:if test="dif:Data_Set_Citation/dif:Dataset_Creator!=''"> + <gmd:citedResponsibleParty> + <xsl:for-each select="dif:Data_Set_Citation"> + <gmd:CI_ResponsibleParty> + <gmd:individualName> + <gco:CharacterString> + <xsl:value-of select="./dif:Dataset_Creator"/> + </gco:CharacterString> + </gmd:individualName> + <gmd:role> + <gmd:CI_RoleCode codeList="http://asdd.ga.gov.au/asdd/profileinfo/gmxCodelists.xml#CI_RoleCode" codeListValue="originator"/> + </gmd:role> + </gmd:CI_ResponsibleParty> + </xsl:for-each> + </gmd:citedResponsibleParty> + </xsl:if> + + <xsl:if test="dif:Originating_Center!=''"> + <gmd:citedResponsibleParty> + <gmd:CI_ResponsibleParty> + <gmd:individualName> + <gco:CharacterString> + <xsl:value-of select="dif:Originating_Center"/> + </gco:CharacterString> + </gmd:individualName> + <gmd:role> + <gmd:CI_RoleCode codeList="http://asdd.ga.gov.au/asdd/profileinfo/gmxCodelists.xml#CI_RoleCode" codeListValue="originator"/> + </gmd:role> + </gmd:CI_ResponsibleParty> + </gmd:citedResponsibleParty> + </xsl:if> + + <xsl:if test="dif:Data_Set_Citation/dif:Dataset_Publisher!=''"> + <gmd:citedResponsibleParty> + <xsl:for-each select="dif:Data_Set_Citation"> + <gmd:CI_ResponsibleParty> + <gmd:individualName> + <gco:CharacterString> + <xsl:value-of select="./dif:Dataset_Publisher"/> + </gco:CharacterString> + </gmd:individualName> + <gmd:role> + <gmd:CI_RoleCode codeList="http://asdd.ga.gov.au/asdd/profileinfo/gmxCodelists.xml#CI_RoleCode" codeListValue="publisher"/> + </gmd:role> + </gmd:CI_ResponsibleParty> + </xsl:for-each> + </gmd:citedResponsibleParty> + </xsl:if> + + <xsl:if test="dif:Data_Set_Citation/dif:Dataset_Series_Name!='' or dif:Data_Set_Citation/dif:Issue_Identification!=''"> + <gmd:series> + <xsl:for-each select="dif:Data_Set_Citation"> + <gmd:CI_Series> + <xsl:if test="dif:Dataset_Series_Name!=''"> + <gmd:name> + <gco:CharacterString> + <xsl:value-of select="./dif:Dataset_Series_Name"/> + </gco:CharacterString> + </gmd:name> + </xsl:if> + <xsl:if test="dif:Issue_Identification!=''"> + <gmd:issueIdentification> + <gco:CharacterString> + <xsl:value-of select="./dif:Issue_Identification"/> + </gco:CharacterString> + </gmd:issueIdentification> + </xsl:if> + </gmd:CI_Series> + </xsl:for-each> + </gmd:series> + </xsl:if> + + <xsl:if test="dif:Data_Set_Citation/dif:Other_Citation_Details!=''"> + <xsl:for-each select="dif:Data_Set_Citation"> + <gmd:otherCitationDetails> + <gco:CharacterString> + <xsl:value-of select="./dif:Other_Citation_Details"/> + </gco:CharacterString> + </gmd:otherCitationDetails> + </xsl:for-each> + </xsl:if> + + </gmd:CI_Citation> + </gmd:citation> + + <gmd:abstract> + <gco:CharacterString> + <xsl:value-of select="dif:Summary"/> + </gco:CharacterString> + </gmd:abstract> + + <xsl:if test="dif:Data_Set_Progress!=''"> + + <xsl:for-each select="dif:Data_Set_Progress"> + <xsl:if test=".='COMPLETE'"> + <gmd:status> + <gmd:MD_ProgressCode codeList="http://asdd.ga.gov.au/asdd/profileinfo/gmxCodelists.xml#MD_ProgressCode" codeListValue="completed"/> + </gmd:status> + </xsl:if> + </xsl:for-each> + + <xsl:for-each select="dif:Data_Set_Progress"> + <xsl:if test=".='IN WORK'"> + <gmd:status> + <gmd:MD_ProgressCode codeList="http://asdd.ga.gov.au/asdd/profileinfo/gmxCodelists.xml#MD_ProgressCode" codeListValue="onGoing"/> + </gmd:status> + </xsl:if> + </xsl:for-each> + + <xsl:for-each select="dif:Data_Set_Progress"> + <xsl:if test=".='PLANNED'"> + <gmd:status> + <gmd:MD_ProgressCode codeList="http://asdd.ga.gov.au/asdd/profileinfo/gmxCodelists.xml#MD_ProgressCode" codeListValue="planned"/> + </gmd:status> + </xsl:if> + </xsl:for-each> + + </xsl:if> + + <xsl:for-each select="dif:Data_Center"> + <xsl:for-each select="dif:Personnel/dif:Role"> + <gmd:pointOfContact> + <gmd:CI_ResponsibleParty> + <gmd:individualName> + <gco:CharacterString> + <xsl:value-of select="../dif:First_Name"/>, <xsl:value-of select="../dif:Last_Name"/> + </gco:CharacterString> + </gmd:individualName> + <gmd:organisationName> + <gco:CharacterString> + <xsl:value-of select="../../dif:Data_Center_Name/dif:Short_Name"/> | <xsl:value-of select="../../dif:Data_Center_Name/dif:Long_Name"/> + </gco:CharacterString> + </gmd:organisationName> + <gmd:positionName> + <gco:CharacterString> + <xsl:value-of select="."/> + </gco:CharacterString> + </gmd:positionName> + + <xsl:if test="../dif:Phone!='' or ../dif:Fax!='' or ../dif:Contact_Address/dif:Address!='' or ../dif:Contact_Address/dif:City!='' or ../dif:Contact_Address/dif:Province_or_State!='' or ../dif:Contact_Address/dif:Postal_Code!='' or ../dif:Contact_Address/dif:Country!='' or ../dif:Email!='' or ../../dif:Data_Center_URL!=''"> + + <gmd:contactInfo> + <gmd:CI_Contact> + + <xsl:if test="../dif:Phone!='' or ../dif:Fax!=''"> + <gmd:phone> + <gmd:CI_Telephone> + <xsl:for-each select="../dif:Phone"> + <gmd:voice> + <gco:CharacterString> + <xsl:value-of select="."/> + </gco:CharacterString> + </gmd:voice> + </xsl:for-each> + <xsl:for-each select="../dif:Fax"> + <gmd:facsimile> + <gco:CharacterString> + <xsl:value-of select="."/> + </gco:CharacterString> + </gmd:facsimile> + </xsl:for-each> + </gmd:CI_Telephone> + </gmd:phone> + </xsl:if> + + <xsl:if test="../dif:Contact_Address/dif:Address!='' or ../dif:Contact_Address/dif:City!='' or ../dif:Contact_Address/dif:Province_or_State!='' or ..... [truncated message content] |