From: <fxp...@us...> - 2011-10-21 16:28:17
|
Revision: 8302 http://geonetwork.svn.sourceforge.net/geonetwork/?rev=8302&view=rev Author: fxprunayre Date: 2011-10-21 16:28:11 +0000 (Fri, 21 Oct 2011) Log Message: ----------- link metadata on dataset and service may alter XML. #635. Fix for #637. Modified Paths: -------------- schemaPlugins/trunk/iso19139.anzlic/process/update-onlineSrc.xsl schemaPlugins/trunk/iso19139.fra/present/csw/ogc-summary.xsl schemaPlugins/trunk/iso19139.fra/process/update-onlineSrc.xsl Modified: schemaPlugins/trunk/iso19139.anzlic/process/update-onlineSrc.xsl =================================================================== --- schemaPlugins/trunk/iso19139.anzlic/process/update-onlineSrc.xsl 2011-10-21 16:26:01 UTC (rev 8301) +++ schemaPlugins/trunk/iso19139.anzlic/process/update-onlineSrc.xsl 2011-10-21 16:28:11 UTC (rev 8302) @@ -43,13 +43,13 @@ <!-- TODO we could check if online resource already exists before adding information --> <gmd:distributionInfo> <gmd:MD_Distribution> - <xsl:copy-of select="gmd:distributionInfo/gmd:MD_Distribution/gmd:distributionFormat/*"/> - <xsl:copy-of select="gmd:distributionInfo/gmd:MD_Distribution/gmd:distributor/*"/> + <xsl:copy-of select="gmd:distributionInfo/gmd:MD_Distribution/gmd:distributionFormat"/> + <xsl:copy-of select="gmd:distributionInfo/gmd:MD_Distribution/gmd:distributor"/> <gmd:transferOptions> <gmd:MD_DigitalTransferOptions> - <xsl:copy-of select="gmd:distributionInfo/gmd:MD_Distribution/gmd:transferOptions/gmd:MD_DigitalTransferOptions/gmd:unitsOfDistribution/*"/> - <xsl:copy-of select="gmd:distributionInfo/gmd:MD_Distribution/gmd:transferOptions/gmd:MD_DigitalTransferOptions/gmd:transferSize/*"/> - <xsl:copy-of select="gmd:distributionInfo/gmd:MD_Distribution/gmd:transferOptions/gmd:MD_DigitalTransferOptions/gmd:onLine/*"/> + <xsl:copy-of select="gmd:distributionInfo/gmd:MD_Distribution/gmd:transferOptions[1]/gmd:MD_DigitalTransferOptions/gmd:unitsOfDistribution"/> + <xsl:copy-of select="gmd:distributionInfo/gmd:MD_Distribution/gmd:transferOptions[1]/gmd:MD_DigitalTransferOptions/gmd:transferSize"/> + <xsl:copy-of select="gmd:distributionInfo/gmd:MD_Distribution/gmd:transferOptions[1]/gmd:MD_DigitalTransferOptions/gmd:onLine"/> <gmd:onLine> <gmd:CI_OnlineResource> <gmd:linkage> @@ -66,9 +66,10 @@ </gmd:description> </gmd:CI_OnlineResource> </gmd:onLine> - <xsl:copy-of select="gmd:distributionInfo/gmd:MD_Distribution/gmd:transferOptions/gmd:MD_DigitalTransferOptions/gmd:offLine/*"/> + <xsl:copy-of select="gmd:distributionInfo/gmd:MD_Distribution/gmd:transferOptions[1]/gmd:MD_DigitalTransferOptions/gmd:offLine"/> </gmd:MD_DigitalTransferOptions> </gmd:transferOptions> + <xsl:copy-of select="gmd:distributionInfo/gmd:MD_Distribution/gmd:transferOptions[position() > 1]"/> </gmd:MD_Distribution> </gmd:distributionInfo> @@ -86,6 +87,4 @@ </xsl:copy> </xsl:template> - - </xsl:stylesheet> Modified: schemaPlugins/trunk/iso19139.fra/present/csw/ogc-summary.xsl =================================================================== --- schemaPlugins/trunk/iso19139.fra/present/csw/ogc-summary.xsl 2011-10-21 16:26:01 UTC (rev 8301) +++ schemaPlugins/trunk/iso19139.fra/present/csw/ogc-summary.xsl 2011-10-21 16:28:11 UTC (rev 8302) @@ -40,7 +40,7 @@ gmd:identificationInfo/srv:SV_ServiceIdentification| gmd:identificationInfo/*[@gco:isoType='srv:SV_ServiceIdentification']"> - <xsl:for-each select="gmd:citation/gmd:CI_Citation/gmd:title/gco:CharacterString"> + <xsl:for-each select="gmd:citation/gmd:CI_Citation/gmd:title"> <dc:title> <xsl:apply-templates mode="localised" select="."> <xsl:with-param name="langId" select="$langId"/> @@ -120,4 +120,4 @@ <!-- ============================================================================= --> -</xsl:stylesheet> \ No newline at end of file +</xsl:stylesheet> Modified: schemaPlugins/trunk/iso19139.fra/process/update-onlineSrc.xsl =================================================================== --- schemaPlugins/trunk/iso19139.fra/process/update-onlineSrc.xsl 2011-10-21 16:26:01 UTC (rev 8301) +++ schemaPlugins/trunk/iso19139.fra/process/update-onlineSrc.xsl 2011-10-21 16:28:11 UTC (rev 8302) @@ -43,13 +43,13 @@ <!-- TODO we could check if online resource already exists before adding information --> <gmd:distributionInfo> <gmd:MD_Distribution> - <xsl:copy-of select="gmd:distributionInfo/gmd:MD_Distribution/gmd:distributionFormat/*"/> - <xsl:copy-of select="gmd:distributionInfo/gmd:MD_Distribution/gmd:distributor/*"/> + <xsl:copy-of select="gmd:distributionInfo/gmd:MD_Distribution/gmd:distributionFormat"/> + <xsl:copy-of select="gmd:distributionInfo/gmd:MD_Distribution/gmd:distributor"/> <gmd:transferOptions> <gmd:MD_DigitalTransferOptions> - <xsl:copy-of select="gmd:distributionInfo/gmd:MD_Distribution/gmd:transferOptions/gmd:MD_DigitalTransferOptions/gmd:unitsOfDistribution/*"/> - <xsl:copy-of select="gmd:distributionInfo/gmd:MD_Distribution/gmd:transferOptions/gmd:MD_DigitalTransferOptions/gmd:transferSize/*"/> - <xsl:copy-of select="gmd:distributionInfo/gmd:MD_Distribution/gmd:transferOptions/gmd:MD_DigitalTransferOptions/gmd:onLine/*"/> + <xsl:copy-of select="gmd:distributionInfo/gmd:MD_Distribution/gmd:transferOptions[1]/gmd:MD_DigitalTransferOptions/gmd:unitsOfDistribution"/> + <xsl:copy-of select="gmd:distributionInfo/gmd:MD_Distribution/gmd:transferOptions[1]/gmd:MD_DigitalTransferOptions/gmd:transferSize"/> + <xsl:copy-of select="gmd:distributionInfo/gmd:MD_Distribution/gmd:transferOptions[1]/gmd:MD_DigitalTransferOptions/gmd:onLine"/> <gmd:onLine> <gmd:CI_OnlineResource> <gmd:linkage> @@ -66,9 +66,10 @@ </gmd:description> </gmd:CI_OnlineResource> </gmd:onLine> - <xsl:copy-of select="gmd:distributionInfo/gmd:MD_Distribution/gmd:transferOptions/gmd:MD_DigitalTransferOptions/gmd:offLine/*"/> + <xsl:copy-of select="gmd:distributionInfo/gmd:MD_Distribution/gmd:transferOptions[1]/gmd:MD_DigitalTransferOptions/gmd:offLine"/> </gmd:MD_DigitalTransferOptions> </gmd:transferOptions> + <xsl:copy-of select="gmd:distributionInfo/gmd:MD_Distribution/gmd:transferOptions[position() > 1]"/> </gmd:MD_Distribution> </gmd:distributionInfo> @@ -86,6 +87,4 @@ </xsl:copy> </xsl:template> - - </xsl:stylesheet> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <sp...@us...> - 2011-10-24 13:15:09
|
Revision: 8309 http://geonetwork.svn.sourceforge.net/geonetwork/?rev=8309&view=rev Author: sppigot Date: 2011-10-24 13:14:59 +0000 (Mon, 24 Oct 2011) Log Message: ----------- Add iso19135 plugin schema to support registers and recording procedures for item registration in GeoNetwork (ISO19135) Added Paths: ----------- schemaPlugins/trunk/iso19135/ schemaPlugins/trunk/iso19135/convert/ schemaPlugins/trunk/iso19135/convert/CT_CodelistCatalogTo19135.xsl schemaPlugins/trunk/iso19135/convert/functions.xsl schemaPlugins/trunk/iso19135/convert/oai_dc.xsl schemaPlugins/trunk/iso19135/extract-date-modified.xsl schemaPlugins/trunk/iso19135/extract-gml.xsl schemaPlugins/trunk/iso19135/extract-uuid.xsl schemaPlugins/trunk/iso19135/index-fields.xsl schemaPlugins/trunk/iso19135/loc/ schemaPlugins/trunk/iso19135/loc/ar/ schemaPlugins/trunk/iso19135/loc/ar/codelists.xml schemaPlugins/trunk/iso19135/loc/ar/labels.xml schemaPlugins/trunk/iso19135/loc/ar/strings.xml schemaPlugins/trunk/iso19135/loc/cn/ schemaPlugins/trunk/iso19135/loc/cn/codelists.xml schemaPlugins/trunk/iso19135/loc/cn/labels.xml schemaPlugins/trunk/iso19135/loc/cn/strings.xml schemaPlugins/trunk/iso19135/loc/de/ schemaPlugins/trunk/iso19135/loc/de/codelists.xml schemaPlugins/trunk/iso19135/loc/de/labels.xml schemaPlugins/trunk/iso19135/loc/de/strings.xml schemaPlugins/trunk/iso19135/loc/en/ schemaPlugins/trunk/iso19135/loc/en/codelists.xml schemaPlugins/trunk/iso19135/loc/en/labels.xml schemaPlugins/trunk/iso19135/loc/en/strings.xml schemaPlugins/trunk/iso19135/loc/es/ schemaPlugins/trunk/iso19135/loc/es/codelists.xml schemaPlugins/trunk/iso19135/loc/es/labels.xml schemaPlugins/trunk/iso19135/loc/es/strings.xml schemaPlugins/trunk/iso19135/loc/fr/ schemaPlugins/trunk/iso19135/loc/fr/codelists.xml schemaPlugins/trunk/iso19135/loc/fr/labels.xml schemaPlugins/trunk/iso19135/loc/fr/strings.xml schemaPlugins/trunk/iso19135/loc/nl/ schemaPlugins/trunk/iso19135/loc/nl/codelists.xml schemaPlugins/trunk/iso19135/loc/nl/labels.xml schemaPlugins/trunk/iso19135/loc/nl/strings.xml schemaPlugins/trunk/iso19135/loc/pt/ schemaPlugins/trunk/iso19135/loc/pt/codelists.xml schemaPlugins/trunk/iso19135/loc/pt/labels.xml schemaPlugins/trunk/iso19135/loc/pt/strings.xml schemaPlugins/trunk/iso19135/loc/ru/ schemaPlugins/trunk/iso19135/loc/ru/codelists.xml schemaPlugins/trunk/iso19135/loc/ru/labels.xml schemaPlugins/trunk/iso19135/loc/ru/strings.xml schemaPlugins/trunk/iso19135/oasis-catalog.xml schemaPlugins/trunk/iso19135/present/ schemaPlugins/trunk/iso19135/present/csw/ schemaPlugins/trunk/iso19135/present/csw/iso-brief.xsl schemaPlugins/trunk/iso19135/present/csw/iso-full.xsl schemaPlugins/trunk/iso19135/present/csw/iso-summary.xsl schemaPlugins/trunk/iso19135/present/csw/ogc-brief.xsl schemaPlugins/trunk/iso19135/present/csw/ogc-full.xsl schemaPlugins/trunk/iso19135/present/csw/ogc-summary.xsl schemaPlugins/trunk/iso19135/present/metadata-iso19135-fop.xsl schemaPlugins/trunk/iso19135/present/metadata-iso19135-utils.xsl schemaPlugins/trunk/iso19135/present/metadata-iso19135.xsl schemaPlugins/trunk/iso19135/process/ schemaPlugins/trunk/iso19135/sample-data/ schemaPlugins/trunk/iso19135/sample-data/sample-codelist-register.mef schemaPlugins/trunk/iso19135/schema/ schemaPlugins/trunk/iso19135/schema/gco/ schemaPlugins/trunk/iso19135/schema/gco/basicTypes.xsd schemaPlugins/trunk/iso19135/schema/gco/gco.xsd schemaPlugins/trunk/iso19135/schema/gco/gcoBase.xsd schemaPlugins/trunk/iso19135/schema/gmd/ schemaPlugins/trunk/iso19135/schema/gmd/applicationSchema.xsd schemaPlugins/trunk/iso19135/schema/gmd/citation.xsd schemaPlugins/trunk/iso19135/schema/gmd/constraints.xsd schemaPlugins/trunk/iso19135/schema/gmd/content.xsd schemaPlugins/trunk/iso19135/schema/gmd/dataQuality.xsd schemaPlugins/trunk/iso19135/schema/gmd/distribution.xsd schemaPlugins/trunk/iso19135/schema/gmd/extent.xsd schemaPlugins/trunk/iso19135/schema/gmd/freeText.xsd schemaPlugins/trunk/iso19135/schema/gmd/gmd.xsd schemaPlugins/trunk/iso19135/schema/gmd/identification.xsd schemaPlugins/trunk/iso19135/schema/gmd/maintenance.xsd schemaPlugins/trunk/iso19135/schema/gmd/metadataApplication.xsd schemaPlugins/trunk/iso19135/schema/gmd/metadataEntity.xsd schemaPlugins/trunk/iso19135/schema/gmd/metadataExtension.xsd schemaPlugins/trunk/iso19135/schema/gmd/portrayalCatalogue.xsd schemaPlugins/trunk/iso19135/schema/gmd/referenceSystem.xsd schemaPlugins/trunk/iso19135/schema/gmd/spatialRepresentation.xsd schemaPlugins/trunk/iso19135/schema/gml/ schemaPlugins/trunk/iso19135/schema/gml/basicTypes.xsd schemaPlugins/trunk/iso19135/schema/gml/coordinateOperations.xsd schemaPlugins/trunk/iso19135/schema/gml/coordinateReferenceSystems.xsd schemaPlugins/trunk/iso19135/schema/gml/coordinateSystems.xsd schemaPlugins/trunk/iso19135/schema/gml/coverage.xsd schemaPlugins/trunk/iso19135/schema/gml/datums.xsd schemaPlugins/trunk/iso19135/schema/gml/dictionary.xsd schemaPlugins/trunk/iso19135/schema/gml/direction.xsd schemaPlugins/trunk/iso19135/schema/gml/dynamicFeature.xsd schemaPlugins/trunk/iso19135/schema/gml/feature.xsd schemaPlugins/trunk/iso19135/schema/gml/geometryAggregates.xsd schemaPlugins/trunk/iso19135/schema/gml/geometryBasic0d1d.xsd schemaPlugins/trunk/iso19135/schema/gml/geometryBasic2d.xsd schemaPlugins/trunk/iso19135/schema/gml/geometryComplexes.xsd schemaPlugins/trunk/iso19135/schema/gml/geometryPrimitives.xsd schemaPlugins/trunk/iso19135/schema/gml/gml.xsd schemaPlugins/trunk/iso19135/schema/gml/gmlBase.xsd schemaPlugins/trunk/iso19135/schema/gml/grids.xsd schemaPlugins/trunk/iso19135/schema/gml/measures.xsd schemaPlugins/trunk/iso19135/schema/gml/observation.xsd schemaPlugins/trunk/iso19135/schema/gml/readme.txt schemaPlugins/trunk/iso19135/schema/gml/referenceSystems.xsd schemaPlugins/trunk/iso19135/schema/gml/temporal.xsd schemaPlugins/trunk/iso19135/schema/gml/temporalReferenceSystems.xsd schemaPlugins/trunk/iso19135/schema/gml/temporalTopology.xsd schemaPlugins/trunk/iso19135/schema/gml/topology.xsd schemaPlugins/trunk/iso19135/schema/gml/units.xsd schemaPlugins/trunk/iso19135/schema/gml/valueObjects.xsd schemaPlugins/trunk/iso19135/schema/gmx/ schemaPlugins/trunk/iso19135/schema/gmx/catalogues.xsd schemaPlugins/trunk/iso19135/schema/gmx/codelistItem.xsd schemaPlugins/trunk/iso19135/schema/gmx/crsItem.xsd schemaPlugins/trunk/iso19135/schema/gmx/extendedTypes.xsd schemaPlugins/trunk/iso19135/schema/gmx/gmx.xsd schemaPlugins/trunk/iso19135/schema/gmx/gmxUsage.xsd schemaPlugins/trunk/iso19135/schema/gmx/uomItem.xsd schemaPlugins/trunk/iso19135/schema/grg/ schemaPlugins/trunk/iso19135/schema/grg/grg.xsd schemaPlugins/trunk/iso19135/schema/grg/register.xsd schemaPlugins/trunk/iso19135/schema/gsr/ schemaPlugins/trunk/iso19135/schema/gsr/gsr.xsd schemaPlugins/trunk/iso19135/schema/gsr/spatialReferencing.xsd schemaPlugins/trunk/iso19135/schema/gss/ schemaPlugins/trunk/iso19135/schema/gss/geometry.xsd schemaPlugins/trunk/iso19135/schema/gss/gss.xsd schemaPlugins/trunk/iso19135/schema/gts/ schemaPlugins/trunk/iso19135/schema/gts/gts.xsd schemaPlugins/trunk/iso19135/schema/gts/temporalObjects.xsd schemaPlugins/trunk/iso19135/schema/resources/ schemaPlugins/trunk/iso19135/schema/resources/Codelist/ schemaPlugins/trunk/iso19135/schema/resources/Codelist/ML_gmxCodelists.xml schemaPlugins/trunk/iso19135/schema/resources/Codelist/gmxCodelists.xml schemaPlugins/trunk/iso19135/schema/resources/crs/ schemaPlugins/trunk/iso19135/schema/resources/crs/ML_gmxCrs.xml schemaPlugins/trunk/iso19135/schema/resources/crs/gmxCrs.xml schemaPlugins/trunk/iso19135/schema/resources/uom/ schemaPlugins/trunk/iso19135/schema/resources/uom/ML_gmxUom.xml schemaPlugins/trunk/iso19135/schema/resources/uom/gmxUom.xml schemaPlugins/trunk/iso19135/schema/xlink/ schemaPlugins/trunk/iso19135/schema/xlink/version.txt schemaPlugins/trunk/iso19135/schema/xlink/xlinks.xsd schemaPlugins/trunk/iso19135/schema-ident.xml schemaPlugins/trunk/iso19135/schema-substitutes.xml schemaPlugins/trunk/iso19135/schema-suggestions.xml schemaPlugins/trunk/iso19135/schema.xsd schemaPlugins/trunk/iso19135/set-uuid.xsl schemaPlugins/trunk/iso19135/templates/ schemaPlugins/trunk/iso19135/templates/README schemaPlugins/trunk/iso19135/templates/codelist-template.xml schemaPlugins/trunk/iso19135/update-fixed-info.xsl Added: schemaPlugins/trunk/iso19135/convert/CT_CodelistCatalogTo19135.xsl =================================================================== --- schemaPlugins/trunk/iso19135/convert/CT_CodelistCatalogTo19135.xsl (rev 0) +++ schemaPlugins/trunk/iso19135/convert/CT_CodelistCatalogTo19135.xsl 2011-10-24 13:14:59 UTC (rev 8309) @@ -0,0 +1,278 @@ +<?xml version="1.0" encoding="UTF-8"?> +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="2.0" + xmlns:gml="http://www.opengis.net/gml" + xmlns:gco="http://www.isotc211.org/2005/gco" + xmlns:gmx="http://www.isotc211.org/2005/gmx" + xmlns:gmd="http://www.isotc211.org/2005/gmd" + xmlns:grg="http://www.isotc211.org/2005/grg" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xmlns:xlink="http://www.w3.org/1999/xlink" + exclude-result-prefixes="#all"> + + <xsl:output method="xml" version="1.0" indent="yes"/> + + <xsl:param name="uuid" select="generate-id()"/> + + <xsl:variable name="versionDate"> + <xsl:choose> + <xsl:when test="gmx:CT_CodelistCatalogue/gmx:versionDate"> + <xsl:value-of select="gmx:CT_CodelistCatalogue/gmx:versionDate/gco:Date"/> + </xsl:when> + <xsl:otherwise> + <xsl:variable name="df">[Y0001]-[M01]-[D01]T[H01]:[m01]:[s01]</xsl:variable> + <xsl:value-of select="format-dateTime(current-dateTime(),$df)"/> + </xsl:otherwise> + </xsl:choose> + </xsl:variable> + + <xsl:variable name="fieldOfApplication"> + <xsl:value-of select="gmx:CT_CodelistCatalogue/gmx:fieldOfApplication/gco:CharacterString"/> + </xsl:variable> + + <!-- ================================================================= --> + + <xsl:template match="/gmx:CT_CodelistCatalogue"> + <xsl:element name="grg:RE_Register"> + <xsl:namespace name="grg" select="'http://www.isotc211.org/2005/grg'"/> + <xsl:namespace name="gmd" select="'http://www.isotc211.org/2005/gmd'"/> + <xsl:namespace name="gco" select="'http://www.isotc211.org/2005/gco'"/> + <xsl:namespace name="xlink" select="'http://www.w3.org/1999/xlink'"/> + + <xsl:attribute name="uuid"><xsl:value-of select="$uuid"/></xsl:attribute> + <xsl:attribute name="xsi:schemaLocation">http://www.isotc211.org/2005/grg http://www.isotc211.org/2005/grg/grg.xsd http://www.isotc211.org/2005/gmd http://www.isotc211.org/2005/gmd/gmd.xsd http://www.isotc211.org/2005/gco http://www.isotc211.org/2005/gco/gco.xsd</xsl:attribute> + + <grg:name> + <gco:CharacterString><xsl:value-of select="string(gmx:name/*)"/></gco:CharacterString> + </grg:name> + + <grg:contentSummary> + <gco:CharacterString><xsl:value-of select="string(gmx:scope/*)"/></gco:CharacterString> + </grg:contentSummary> + + <!-- Linkage to codelist catalog --> + <grg:uniformResourceIdentifier> + <gmd:CI_OnlineResource> + <gmd:linkage> + <gmd:URL><xsl:value-of select="gmx:codelistItem/gmx:CodeListDictionary/gml:identifier/@codeSpace"/></gmd:URL> + </gmd:linkage> + </gmd:CI_OnlineResource> + </grg:uniformResourceIdentifier> + + <!-- Operating Language --> + <grg:operatingLanguage> + <grg:RE_Locale> + <grg:name> + <gco:CharacterString>English</gco:CharacterString> + </grg:name> + <grg:language> + <gco:CharacterString>eng</gco:CharacterString> + </grg:language> + <grg:country> + <gco:CharacterString>Australia</gco:CharacterString> + </grg:country> + <grg:characterEncoding> + <gmd:MD_CharacterSetCode codeListValue="utf8" codeList="http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#MD_CharacterSetCode"/> + </grg:characterEncoding> + </grg:RE_Locale> + </grg:operatingLanguage> + + <!-- Alternative Languages (hard code just one here) --> + <grg:alternativeLanguages> + <grg:RE_Locale> + <grg:name> + <gco:CharacterString>English</gco:CharacterString> + </grg:name> + <grg:language> + <gco:CharacterString>eng</gco:CharacterString> + </grg:language> + <grg:country> + <gco:CharacterString>Australia</gco:CharacterString> + </grg:country> + <grg:characterEncoding> + <gmd:MD_CharacterSetCode codeListValue="utf8" codeList="http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#MD_CharacterSetCode"/> + </grg:characterEncoding> + </grg:RE_Locale> + </grg:alternativeLanguages> + + <!-- Version - use this instead of dateOfLastChange --> + <grg:version> + <grg:RE_Version> + <grg:versionNumber> + <gco:CharacterString><xsl:value-of select="string(gmx:versionNumber/*)"/></gco:CharacterString> + </grg:versionNumber> + <grg:versionDate> + <gco:Date><xsl:value-of select="string(gmx:versionDate/*)"/></gco:Date> + </grg:versionDate> + </grg:RE_Version> + </grg:version> + + <!-- Owner --> + <grg:owner> + <grg:RE_RegisterOwner> + <grg:name> + <gco:CharacterString>ANZLIC</gco:CharacterString> + </grg:name> + <grg:contact xlink:href="#ANZLIC_Contact"/> + </grg:RE_RegisterOwner> + </grg:owner> + + <!-- Submitter --> + <grg:submitter> + <grg:RE_SubmittingOrganization> + <grg:name> + <gco:CharacterString>ANZLIC</gco:CharacterString> + </grg:name> + <grg:contact xlink:href="#ANZLIC_Contact"/> + </grg:RE_SubmittingOrganization> + </grg:submitter> + + <!-- containedItemClass - standard 19135 RE_RegisterItem --> + <grg:containedItemClass> + <grg:RE_ItemClass id="Item_Class"> + <grg:name> + <gco:CharacterString>grg:RE_RegisterItem</gco:CharacterString> + </grg:name> + <grg:technicalStandard> + <gmd:CI_Citation> + <gmd:title> + <gco:CharacterString>ISO19135</gco:CharacterString> + </gmd:title> + <gmd:date> + <gmd:CI_Date> + <gmd:date> + <gco:Date>2005-10-15</gco:Date> + </gmd:date> + <gmd:dateType> + <gmd:CI_DateTypeCode codeList="http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#CI_DateTypeCode" codeListValue="creation"/> + </gmd:dateType> + </gmd:CI_Date> + </gmd:date> + <gmd:edition> + <gco:CharacterString>First</gco:CharacterString> + </gmd:edition> + </gmd:CI_Citation> + </grg:technicalStandard> + </grg:RE_ItemClass> + </grg:containedItemClass> + + <!-- Manager --> + <grg:manager> + <grg:RE_RegisterManager> + <grg:name> + <gco:CharacterString>ANZLIC</gco:CharacterString> + </grg:name> + <grg:contact> + <gmd:CI_ResponsibleParty id="ANZLIC_Contact"> + <gmd:organisationName> + <gco:CharacterString>ANZLIC</gco:CharacterString> + </gmd:organisationName> + <gmd:contactInfo> + <gmd:CI_Contact> + <gmd:address> + <gmd:CI_Address> + <gmd:deliveryPoint> + <gco:CharacterString>GPO Box 337</gco:CharacterString> + </gmd:deliveryPoint> + <gmd:city> + <gco:CharacterString>CANBERRA</gco:CharacterString> + </gmd:city> + <gmd:administrativeArea> + <gco:CharacterString>Australian Capital Territory</gco:CharacterString> + </gmd:administrativeArea> + <gmd:postalCode> + <gco:CharacterString>2601</gco:CharacterString> + </gmd:postalCode> + <gmd:country> + <gco:CharacterString>AUSTRALIA</gco:CharacterString> + </gmd:country> + <gmd:electronicMailAddress> + <gco:CharacterString>info@ANZLIC.org.au</gco:CharacterString> + </gmd:electronicMailAddress> + </gmd:CI_Address> + </gmd:address> + </gmd:CI_Contact> + </gmd:contactInfo> + <gmd:role> + <gmd:CI_RoleCode codeList="http://www.isotc211.org/2005/resources/Codelist/gmxCodelist.xml#CI_RoleCode" codeListValue="custodian">custodian</gmd:CI_RoleCode> + </gmd:role> + </gmd:CI_ResponsibleParty> + </grg:contact> + </grg:RE_RegisterManager> + </grg:manager> + + <!-- codelist items --> + <xsl:for-each select="gmx:codelistItem/gmx:CodeListDictionary/gmx:codeEntry"> + <grg:containedItem> + <grg:RE_RegisterItem uuid="{gmx:CodeDefinition/gml:identifier}"> + <grg:itemIdentifier> + <gco:Integer><xsl:value-of select="position()"/></gco:Integer> + </grg:itemIdentifier> + + <xsl:apply-templates select="gmx:CodeDefinition"/> + + </grg:RE_RegisterItem> + </grg:containedItem> + + </xsl:for-each> + + </xsl:element> + </xsl:template> + + <!-- ================================================================= --> + + <xsl:template match="gmx:CodeDefinition"> + <grg:name> + <gco:CharacterString><xsl:value-of select="gml:identifier"/></gco:CharacterString> + </grg:name> + + <grg:status> + <grg:RE_ItemStatus>valid</grg:RE_ItemStatus> + </grg:status> + + <grg:dateAccepted> + <gco:Date><xsl:value-of select="$versionDate"/></gco:Date> + </grg:dateAccepted> + + <grg:definition> + <gco:CharacterString><xsl:value-of select="gml:description"/></gco:CharacterString> + </grg:definition> + + <grg:fieldOfApplication> + <grg:RE_FieldOfApplication> + <grg:name> + <gco:CharacterString><xsl:value-of select="$fieldOfApplication"/></gco:CharacterString> + </grg:name> + <grg:description> + <gco:CharacterString><xsl:value-of select="$fieldOfApplication"/></gco:CharacterString> + </grg:description> + </grg:RE_FieldOfApplication> + </grg:fieldOfApplication> + + <grg:additionInformation> + <grg:RE_AdditionInformation> + <grg:dateProposed> + <gco:Date><xsl:value-of select="$versionDate"/></gco:Date> + </grg:dateProposed> + <grg:justification> + <gco:CharacterString>Needed for metadata themes</gco:CharacterString> + </grg:justification> + <grg:status> + <grg:RE_DecisionStatus>final</grg:RE_DecisionStatus> + </grg:status> + <grg:sponsor> + <grg:RE_SubmittingOrganization> + <grg:name> + <gco:CharacterString>ANZLIC</gco:CharacterString> + </grg:name> + <grg:contact xlink:href="#ANZLIC_Contact"/> + </grg:RE_SubmittingOrganization> + </grg:sponsor> + </grg:RE_AdditionInformation> + </grg:additionInformation> + + <grg:itemClass xlink:href="#Item_Class"/> + + </xsl:template> + + +</xsl:stylesheet> Added: schemaPlugins/trunk/iso19135/convert/functions.xsl =================================================================== --- schemaPlugins/trunk/iso19135/convert/functions.xsl (rev 0) +++ schemaPlugins/trunk/iso19135/convert/functions.xsl 2011-10-24 13:14:59 UTC (rev 8309) @@ -0,0 +1,96 @@ +<xsl:stylesheet version="2.0" xmlns:gmd="http://www.isotc211.org/2005/gmd" + xmlns:gco="http://www.isotc211.org/2005/gco" + xmlns:gml="http://www.opengis.net/gml" + xmlns:srv="http://www.isotc211.org/2005/srv" + xmlns:ADO="http://www.defence.gov.au/ADO_DM_MDP" + xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns:date="http://exslt.org/dates-and-times" + xmlns:joda="java:org.fao.geonet.util.JODAISODate" + xmlns:mime="java:org.fao.geonet.util.MimeTypeFinder"> + + <!-- ================================================================== --> + + <xsl:template name="fixSingle"> + <xsl:param name="value"/> + + <xsl:choose> + <xsl:when test="string-length(string($value))=1"> + <xsl:value-of select="concat('0',$value)"/> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="$value"/> + </xsl:otherwise> + </xsl:choose> + </xsl:template> + + <!-- ================================================================== --> + + <xsl:template name="getMimeTypeFile"> + <xsl:param name="datadir"/> + <xsl:param name="fname"/> + <xsl:value-of select="mime:detectMimeTypeFile($datadir,$fname)"/> + </xsl:template> + +<!-- ==================================================================== --> + + <xsl:template name="getMimeTypeUrl"> + <xsl:param name="linkage"/> + <xsl:value-of select="mime:detectMimeTypeUrl($linkage)"/> + </xsl:template> + +<!-- ==================================================================== --> + <xsl:template name="fixNonIso"> + <xsl:param name="value"/> + + <xsl:variable name="now" select="date:date-time()"/> + <xsl:choose> + <xsl:when test="$value='' or lower-case($value)='unknown' or lower-case($value)='current' or lower-case($value)='now'"> + <xsl:variable name="miy" select="date:month-in-year($now)"/> + <xsl:variable name="month"> + <xsl:call-template name="fixSingle"> + <xsl:with-param name="value" select="$miy" /> + </xsl:call-template> + </xsl:variable> + <xsl:variable name="dim" select="date:day-in-month($now)"/> + <xsl:variable name="day"> + <xsl:call-template name="fixSingle"> + <xsl:with-param name="value" select="$dim" /> + </xsl:call-template> + </xsl:variable> + <xsl:value-of select="concat(date:year($now),'-',$month,'-',$day,'T23:59:59')"/> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="$value"/> + </xsl:otherwise> + </xsl:choose> + </xsl:template> + +<!-- ==================================================================== --> + + <xsl:template name="newGmlTime"> + <xsl:param name="begin"/> + <xsl:param name="end"/> + + + <xsl:variable name="value1"> + <xsl:call-template name="fixNonIso"> + <xsl:with-param name="value" select="normalize-space($begin)"/> + </xsl:call-template> + </xsl:variable> + + <xsl:variable name="value2"> + <xsl:call-template name="fixNonIso"> + <xsl:with-param name="value" select="normalize-space($end)"/> + </xsl:call-template> + </xsl:variable> + + <!-- must be a full ISODateTimeFormat - so parse it and make sure it is + returned as a long format using the joda Java Time library --> + <xsl:variable name="output" select="joda:parseISODateTimes($value1,$value2)"/> + <xsl:value-of select="$output"/> + + </xsl:template> + + <!-- ================================================================== --> + +</xsl:stylesheet> Added: schemaPlugins/trunk/iso19135/convert/oai_dc.xsl =================================================================== --- schemaPlugins/trunk/iso19135/convert/oai_dc.xsl (rev 0) +++ schemaPlugins/trunk/iso19135/convert/oai_dc.xsl 2011-10-24 13:14:59 UTC (rev 8309) @@ -0,0 +1,73 @@ +<?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:grg="http://www.isotc211.org/2005/grg" + xmlns:gmd="http://www.isotc211.org/2005/gmd"> + + <!-- ============================================================================================ --> + + <xsl:output indent="yes"/> + + <!-- ============================================================================================ --> + + <xsl:template match="grg:RE_Register"> + <oai_dc:dc xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/" + xmlns:dc ="http://purl.org/dc/elements/1.1/" + xmlns:xsi ="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/oai_dc/ http://www.openarchives.org/OAI/2.0/oai_dc.xsd"> + + <dc:identifier><xsl:value-of select="@uuid"/></dc:identifier> + + <dc:date><xsl:value-of select="/root/env/changeDate"/></dc:date> + + <dc:title><xsl:value-of select="grg:name/gco:CharacterString"/></dc:title> + + <xsl:for-each select="grg:owner/*/grg:contact/gmd:CI_ResponsibleParty/gmd:organisationName/gco:CharacterString"> + <dc:creator><xsl:value-of select="."/></dc:creator> + </xsl:for-each> + + <xsl:for-each select="grg:manager/*/grg:contact/gmd:CI_ResponsibleParty/gmd:organisationName/gco:CharacterString"> + <dc:publisher><xsl:value-of select="."/></dc:publisher> + </xsl:for-each> + + <xsl:for-each select="grg:submitter/*/grg:contact/gmd:CI_ResponsibleParty/gmd:organisationName/gco:CharacterString"> + <dc:contributor><xsl:value-of select="."/></dc:contributor> + </xsl:for-each> + + <!-- subject --> + + <xsl:for-each select="grg:containedItem/*/grg:name/gco:CharacterString"> + <dc:subject><xsl:value-of select="."/></dc:subject> + </xsl:for-each> + + <!-- description --> + + <xsl:for-each select="grg:contentSummary/gco:CharacterString"> + <dc:description><xsl:value-of select="."/></dc:description> + </xsl:for-each> + + <!-- language --> + + <xsl:for-each select="grg:operatingLanguage/*/grg:language/gco:CharacterString"> + <dc:language><xsl:value-of select="."/></dc:language> + </xsl:for-each> + + <xsl:for-each select="grg:alternativeLanguages/*/grg:language/gco:CharacterString"> + <dc:language><xsl:value-of select="."/></dc:language> + </xsl:for-each> + + <dc:type>Register</dc:type> + + </oai_dc:dc> + </xsl:template> + + <!-- ============================================================================================ --> + + <xsl:template match="*"> + <xsl:apply-templates select="*"/> + </xsl:template> + + <!-- ============================================================================================ --> + +</xsl:stylesheet> Added: schemaPlugins/trunk/iso19135/extract-date-modified.xsl =================================================================== --- schemaPlugins/trunk/iso19135/extract-date-modified.xsl (rev 0) +++ schemaPlugins/trunk/iso19135/extract-date-modified.xsl 2011-10-24 13:14:59 UTC (rev 8309) @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" + xmlns:grg="http://www.isotc211.org/2005/grg" + xmlns:gmd="http://www.isotc211.org/2005/gmd"> + + <xsl:template match="grg:RE_Register"> + <dateStamp><xsl:value-of select="grg:version/*/grg:versionDate/*|grg:dateOfLastChange/*"/></dateStamp> + </xsl:template> + +</xsl:stylesheet> Added: schemaPlugins/trunk/iso19135/extract-gml.xsl =================================================================== --- schemaPlugins/trunk/iso19135/extract-gml.xsl (rev 0) +++ schemaPlugins/trunk/iso19135/extract-gml.xsl 2011-10-24 13:14:59 UTC (rev 8309) @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8"?> +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:grg="http://www.isotc211.org/2005/grg" version="1.0" xmlns:gml="http://www.opengis.net/gml" > + <xsl:template match="/"> + <gml:GeometryCollection/> + </xsl:template> +</xsl:stylesheet> Added: schemaPlugins/trunk/iso19135/extract-uuid.xsl =================================================================== --- schemaPlugins/trunk/iso19135/extract-uuid.xsl (rev 0) +++ schemaPlugins/trunk/iso19135/extract-uuid.xsl 2011-10-24 13:14:59 UTC (rev 8309) @@ -0,0 +1,12 @@ +<?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:grg="http://www.isotc211.org/2005/grg" + xmlns:gmd="http://www.isotc211.org/2005/gmd"> + + <xsl:template match="grg:RE_Register"> + <uuid><xsl:value-of select="@uuid"/></uuid> + </xsl:template> + +</xsl:stylesheet> Added: schemaPlugins/trunk/iso19135/index-fields.xsl =================================================================== --- schemaPlugins/trunk/iso19135/index-fields.xsl (rev 0) +++ schemaPlugins/trunk/iso19135/index-fields.xsl 2011-10-24 13:14:59 UTC (rev 8309) @@ -0,0 +1,137 @@ +<?xml version="1.0" encoding="UTF-8" ?> + +<xsl:stylesheet version="1.0" xmlns:gmd="http://www.isotc211.org/2005/gmd" + xmlns:gco="http://www.isotc211.org/2005/gco" + xmlns:gml="http://www.opengis.net/gml" + xmlns:grg="http://www.isotc211.org/2005/grg" + xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns:gmx="http://www.isotc211.org/2005/gmx"> + + <xsl:include href="convert/functions.xsl"/> + + <xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes" /> + + <xsl:template match="/"> + <Document> + <xsl:apply-templates select="grg:RE_Register" mode="metadata"/> + </Document> + </xsl:template> + + <!-- ========================================================================================= --> + + <xsl:template match="*" mode="metadata"> + + <Field name="title" string="{string(grg:name/gco:CharacterString)}" store="true" index="true"/> + <!-- not tokenized title for sorting --> + <Field name="_title" string="{string(grg:name/gco:CharacterString)}" store="true" index="true"/> + + <Field name="revisionDate" string="{string(grg:version/*/grg:versionDate/*|grg:dateOfLastUpdate/*)}" store="true" index="true"/> + <Field name="tempExtentBegin" string="{string(grg:version/*/grg:versionDate/*|grg:dateOfLastUpdate/*)}" store="true" index="true"/> + + <Field name="createDate" string="{string(grg:version/*/grg:versionDate/*|grg:dateOfLastUpdate/*)}" store="true" index="true"/> + + <Field name="abstract" string="{string(grg:contentSummary/gco:CharacterString)}" store="true" index="true"/> + + <xsl:for-each select="grg:containedItem/*"> + <Field name="keyword" string="{string(grg:name/*)}" store="true" index="true"/> + <Field name="subject" string="{string(grg:name/*)}" store="true" index="true"/> + + <Field name="registerItem" string="{string(grg:name/*)}" store="true" index="true"/> + <Field name="registerItemDesc" string="{string(grg:definition/*|grg:description)}" store="true" index="true"/> + + <Field name="registerItemAcceptedDate" string="{string(grg:dateAccepted/*)}" store="true" index="true"/> + <Field name="registerItemAmendedDate" string="{string(grg:dateAmended/*)}" store="true" index="true"/> + + <Field name="registerItemFieldOfApplication" string="{string(grg:fieldOfApplication/*/grg:name/*)}" store="true" index="true"/> + </xsl:for-each> + + <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> + <xsl:for-each select="//grg:contact/gmd:CI_ResponsibleParty/gmd:organisationName/gco:CharacterString"> + <Field name="orgName" string="{string(.)}" store="true" index="true"/> + </xsl:for-each> + + <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> + <!-- index online protocol --> + + <xsl:for-each select="grg:uniformResourceIdentifier/gmd:CI_OnlineResource/gmd:protocol/gco:CharacterString"> + <xsl:variable name="download_check"><xsl:text>&fname=&access</xsl:text></xsl:variable> + <xsl:variable name="linkage" select="../../gmd:linkage/gmd:URL" /> + + <!-- ignore empty downloads --> + <xsl:if test="string($linkage)!='' and not(contains($linkage,$download_check))"> + <Field name="protocol" string="{string(.)}" store="true" index="true"/> + </xsl:if> + + <xsl:variable name="mimetype" select="../../gmd:name/gmx:MimeFileType/@type"/> + <xsl:if test="normalize-space($mimetype)!=''"> + <Field name="mimetype" string="{$mimetype}" store="true" index="true"/> + </xsl:if> + </xsl:for-each> + + <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> + <xsl:for-each select="grg:operatingLanguage/*/grg:language/gco:CharacterString"> + <Field name="language" string="{string(.)}" store="true" index="true"/> + </xsl:for-each> + + <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> + + <xsl:for-each select="@uuid"> + <Field name="fileId" string="{string(.)}" store="true" index="true"/> + </xsl:for-each> + + <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> + <Field name="changeDate" string="{string(grg:version/*/grg:versionDate/*|grg:dateOfLastUpdate/*)}" store="true" index="true"/> + + <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> + + <xsl:for-each select="grg:submitter/*/gmd:contact/*/gmd:organisationName/gco:CharacterString"> + <Field name="metadataPOC" string="{string(.)}" store="true" index="true"/> + </xsl:for-each> + + <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> + <!-- === Free text search === --> + + <Field name="any" store="false" index="true"> + <xsl:attribute name="string"> + <xsl:apply-templates select="." mode="allText"/> + </xsl:attribute> + </Field> + + <xsl:apply-templates select="." mode="codeList"/> + + </xsl:template> + + <!-- ========================================================================================= --> + <!-- codelist element, indexed, not stored nor tokenized --> + + <xsl:template match="*[./*/@codeListValue]" mode="codeList"> + <xsl:param name="name" select="name(.)"/> + + <Field name="{$name}" string="{*/@codeListValue}" store="false" index="true"/> + </xsl:template> + + <!-- ========================================================================================= --> + + <xsl:template match="*" mode="codeList"> + <xsl:apply-templates select="*" mode="codeList"/> + </xsl:template> + + <!-- ========================================================================================= --> + <!--allText --> + + <xsl:template match="*" mode="allText"> + <xsl:for-each select="@*"> + <xsl:if test="name(.) != 'codeList' "> + <xsl:value-of select="concat(string(.),' ')"/> + </xsl:if> + </xsl:for-each> + + <xsl:choose> + <xsl:when test="*"><xsl:apply-templates select="*" mode="allText"/></xsl:when> + <xsl:otherwise><xsl:value-of select="concat(string(.),' ')"/></xsl:otherwise> + </xsl:choose> + </xsl:template> + + <!-- ========================================================================================= --> + +</xsl:stylesheet> Added: schemaPlugins/trunk/iso19135/loc/ar/codelists.xml =================================================================== --- schemaPlugins/trunk/iso19135/loc/ar/codelists.xml (rev 0) +++ schemaPlugins/trunk/iso19135/loc/ar/codelists.xml 2011-10-24 13:14:59 UTC (rev 8309) @@ -0,0 +1,1954 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + + * Hide in edit mode : If some codelist needs to be hidden + in edit mode, the hideInEditMode attribute could be added + to any entries. + + eg. + <entry hideInEditMode="true"> + + This will restrict the number of available entries for end + user editors and keep all records ISO compatible when using + codelist (eg. harvested records could use codelist hidden + in local node and needs to be displayed in view mode). + + By default, this attribute is not used. +--> +<codelists xmlns:gmd="http://www.isotc211.org/2005/gmd"> + <!-- ==================================================== --> + <codelist name="gmd:CI_DateTypeCode"> + <entry> + <code>creation</code> + <label>Creation</label> + <description>Date identifies when the resource was brought into existence</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>publication</code> + <label>Publication</label> + <description>Date identifies when the resource was issued</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>revision</code> + <label>Revision</label> + <description>Date identifies when the resource was examined or re-examined and improved or amended</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + </codelist> + <!-- ==================================================== --> + <codelist name="gmd:CI_OnLineFunctionCode"> + <entry> + <code>download</code> + <label>Download</label> + <description>Online instructions for transferring data from one storage device or system to another</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>information</code> + <label>Information</label> + <description>Online information about the resource</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>offlineAccess</code> + <label>Offline access</label> + <description>Online instructions for requesting the resource from the provider</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>order</code> + <label>Order</label> + <description>Online order process for obtaining the resource</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>search</code> + <label>Search</label> + <description>Online search interface for seeking out information about the resource</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + </codelist> + <!-- ==================================================== --> + <codelist name="gmd:CI_PresentationFormCode"> + <entry> + <code>documentDigital</code> + <label>Digital document</label> + <description>Digital representation of a primarily textual item (can contain illustrations + also)</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>imageDigital</code> + <label>Digital image</label> + <description>Representation of a primarily textual item (can contain illustrations also) on paper, photographic material, or other media</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>documentHardcopy</code> + <label>Hardcopy document</label> + <description>Likeness of natural or man-made features, objects, and activities acquired through the sensing of visual or any other segment of the electromagnetic spectrum by sensors, such as thermal infrared, and high resolution radar and stored in digital format</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>imageHardcopy</code> + <label>Hardcopy image</label> + <description>Likeness of natural or man-made features, objects, and activities acquired through the sensing of visual or any other segment of the electromagnetic spectrum by sensors, such as thermal infrared, and high resolution radar and reproduced on paper, photographic material, or other media for use directly by the human user</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>mapDigital</code> + <label>Digital map</label> + <description>Map represented in raster or vector form</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>mapHardcopy</code> + <label>Hardcopy map</label> + <description>Map printed on paper, photographic material, or other media for use directly by the human user</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>modelDigital</code> + <label>Digital model</label> + <description>Multi-dimensional digital representation of a feature, process, etc.</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>modelHardcopy</code> + <label>Hardcopy model</label> + <description>3-dimensional, physical model</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>profileDigital</code> + <label>Digital profile</label> + <description>Vertical cross-section in digital form</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>profileHardcopy</code> + <label>Hardcopy profile</label> + <description>Vertical cross-section printed on paper, etc.</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>tableDigital</code> + <label>Digital table</label> + <description>Digital representation of facts or figures systematically displayed, especially in columns</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>tableHardcopy</code> + <label>Hardcopy table</label> + <description>Representation of facts or figures systematically displayed, especially in columns, printed onpapers, photographic material, or other media</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>videoDigital</code> + <label>Digital video</label> + <description>Digital video recording</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>videoHardcopy</code> + <label>Hardcopy video</label> + <description>Video recording on film</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + </codelist> + <!-- ==================================================== --> + <codelist name="gmd:CI_RoleCode"> + <entry> + <code>resourceProvider</code> + <label>Resource provider</label> + <description>Party that supplies the resource</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>custodian</code> + <label>Custodian</label> + <description>Party that accepts accountability and responsibility for the data and ensures appropriate care and maintenance of the resource</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>owner</code> + <label>Owner</label> + <description>Party that owns the resource</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>user</code> + <label>User</label> + <description>Party who uses the resource</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>distributor</code> + <label>Distributor</label> + <description>Party who distributes the resource</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>originator</code> + <label>Originator</label> + <description>Party who created the resource</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>pointOfContact</code> + <label>Point of contact</label> + <description>Party who can be contacted for acquiring knowledge about or acquisition of the resource</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>principalInvestigator</code> + <label>Principal investigator</label> + <description>Key party responsible for gathering information and conducting research</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>processor</code> + <label>Processor</label> + <description>Party who has processed the data in a manner such that the resource has been modified</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>publisher</code> + <label>Publisher</label> + <description>Party who published the resource</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>author</code> + <label>Author</label> + <description>Party who authored the resource</description> + </entry> + </codelist> + <!-- ==================================================== --> + <codelist name="gmd:DQ_EvaluationMethodTypeCode"> + <entry> + <code>directInternal</code> + <label>Direct internal</label> + <description>Method of evaluating the quality of a dataset based on inspection of items within the dataset, where all data required is internal to the dataset being evaluated</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>directExternal</code> + <label>Direct external</label> + <description>Method of evaluating the quality of a dataset based on inspection of items within the dataset, where reference data external to the dataset being evaluated is required</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>indirect</code> + <label>Indirect</label> + <description>Method of evaluating the quality of a dataset based on external knowledge</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + </codelist> + <!-- ==================================================== --> + <codelist name="gmd:DS_AssociationTypeCode"> + <entry> + <code>crossReference</code> + <label>Cross reference</label> + <description>Reference from one dataset to another</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>largerWorkCitation</code> + <label>Larger work citation</label> + <description>Reference to a master dataset of which this one is a part</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>partOfSeamlessDatabase</code> + <label>Part of seamless database</label> + <description>Part of the same structured set of data held in a computer</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>source</code> + <label>Source</label> + <description>Mapping and charting information from which the dataset content + originates</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>stereoMate</code> + <label>Stereo mate</label> + <description>Part of a set of imagery that when used together, provides three-dimensional images</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + </codelist> + <!-- ==================================================== --> + <codelist name="gmd:DS_InitiativeTypeCode"> + <entry> + <code>campaign</code> + <label>Campaign</label> + <description>Series of organized planned actions</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>collection</code> + <label>Collection</label> + <description>Accumulation of datasets assembled for a specific purpose</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>exercise</code> + <label>Exercise</label> + <description>Specific performance of a function or group of functions</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>experiment</code> + <label>Experiment</label> + <description>Process designed to find if something is effective or valid</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>investigation</code> + <label>Investigation</label> + <description>Search or systematic inquiry</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>mission</code> + <label>Mission</label> + <description>Specific operation of a data collection system</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>sensor</code> + <label>Sensor</label> + <description>Device or piece of equipment which detects or records</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>operation</code> + <label>Operation</label> + <description>Action that is part of a series of actions</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>platform</code> + <label>Platform</label> + <description>Vehicle or other support base that holds a sensor</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>process</code> + <label>Process</label> + <description>Method of doing something involving a number of steps</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>program</code> + <label>Program</label> + <description>Specific planned activity</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>project</code> + <label>Project</label> + <description>Organized undertaking, research, or development</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>study</code> + <label>Study</label> + <description>Examination or investigation</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>task</code> + <label>Task</label> + <description>Piece of work</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>trial</code> + <label>Trial</label> + <description>Process of testing to discover or demonstrate something</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + </codelist> + <!-- ==================================================== --> + <codelist name="gmd:MD_CellGeometryCode"> + <entry> + <code>point</code> + <label>Point</label> + <description>Each cell represents a point</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>area</code> + <label>Area</label> + <description>Each cell represents an area</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + </codelist> + <!-- ==================================================== --> + <codelist name="gmd:MD_CharacterSetCode"> + <entry> + <code>ucs2</code> + <label>UCS2</label> + <description>16-bit fixed size Universal Character Set, based on ISO/IEC 10646</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>ucs4</code> + <label>UCS4</label> + <description>32-bit fixed size Universal Character Set, based on ISO/IEC 10646</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>utf7</code> + <label>UTF7</label> + <description>7-bit variable size UCS Transfer Format, based on ISO/IEC 10646</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>utf8</code> + <label>UTF8</label> + <description>8-bit variable size UCS Transfer Format, based on ISO/IEC 10646</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>utf16</code> + <label>UTF16</label> + <description>16-bit variable size UCS Transfer Format, based on ISO/IEC 10646</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>8859part1</code> + <label>8859 Part 1</label> + <description>ISO/IEC 8859-1, Information technology - 8-bit single byte coded graphic character sets - Part 1 : Latin alphabet No.1</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>8859part2</code> + <label>8859 Part 2</label> + <description>ISO/IEC 8859-2, Information technology - 8-bit single byte coded graphic character sets - Part 2 : Latin alphabet No.2</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>8859part3</code> + <label>8859 Part 3</label> + <description>ISO/IEC 8859-3, Information technology - 8-bit single byte coded graphic character sets - Part 3 : Latin alphabet No.3</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>8859part4</code> + <label>8859 Part 4</label> + <description>ISO/IEC 8859-4, Information technology - 8-bit single byte coded graphic character sets - Part 4 : Latin alphabet No.4</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>8859part5</code> + <label>8859 Part 5</label> + <description>ISO/IEC 8859-5, Information technology - 8-bit single byte coded graphic character sets - Part 5 : Latin/Cyrillic alphabet</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>8859part6</code> + <label>8859 Part 6</label> + <description>ISO/IEC 8859-6, Information technology - 8-bit single byte coded graphic character sets - Part 6 : Latin/Arabic alphabet</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>8859part7</code> + <label>8859 Part 7</label> + <description>ISO/IEC 8859-7, Information technology - 8-bit single byte coded graphic character sets - Part 7 : Latin/Greek alphabet</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>8859part8</code> + <label>8859 Part 8</label> + <description>ISO/IEC 8859-8, Information technology - 8-bit single byte coded graphic character sets - Part 8 : Latin/Hebrew alphabet</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>8859part9</code> + <label>8859 Part 9</label> + <description>ISO/IEC 8859-9, Information technology - 8-bit single byte coded graphic character sets - Part 9 : Latin alphabet No.5</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>8859part10</code> + <label>8859 Part 10</label> + <description>ISO/IEC 8859-10, Information technology - 8-bit single byte coded graphic character sets - Part 10 : Latin alphabet No.6</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>8859part11</code> + <label>8859 Part 11</label> + <description>ISO/IEC 8859-11, Information technology - 8-bit single byte coded graphic character sets - Part 11 : Latin/Thai alphabet</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>8859part13</code> + <label>8859 Part 13</label> + <description>ISO/IEC 8859-13, Information technology - 8-bit single byte coded graphic character sets - Part 13 : Latin alphabet No.7</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>8859part14</code> + <label>8859 Part 14</label> + <description>ISO/IEC 8859-14, Information technology - 8-bit single byte coded graphic character sets - Part 14 : Latin alphabet No.8 (Celtic)</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>8859part15</code> + <label>8859 Part 15</label> + <description>ISO/IEC 8859-15, Information technology - 8-bit single byte coded graphic character sets - Part 15 : Latin alphabet No.9</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>8859part16</code> + <label>8859 Part 16</label> + <description>ISO/IEC 8859-16, Information technology - 8-bit single byte coded graphic character sets - Part 16 : Latin alphabet No.10</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>jis</code> + <label>JIS</label> + <description>Japanese code set used for electronic transmission</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>shiftJIS</code> + <label>Shift JIS</label> + <description>Japanese code set used on MS-DOS machines</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>eucJP</code> + <label>EUC JP</label> + <description>Japanese code set used on UNIX based machines</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>usAscii</code> + <label>US ASCII</label> + <description>United States ASCII code set (ISO 646 US)</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>ebcdic</code> + <label>EBCDIC</label> + <description>IBM mainframe code set</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>eucKR</code> + <label>EUC KR</label> + <description>Korean code set</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>big5</code> + <label>Big 5</label> + <description>Traditional Chinese code set used in Taiwan, Hong Kong of China and other + areas</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>GB2312</code> + <label>GB2312</label> + <description>Simplified Chinese code set</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + </codelist> + <!-- ==================================================== --> + <codelist name="gmd:MD_ClassificationCode"> + <entry> + <code>unclassified</code> + <label>Unclassified</label> + <description>Available for general disclosure</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>in-confidence</code> + <label>In-confidence</label> + <description>Guarded due to propriety, ethical or privacy considerations</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>restricted</code> + <label>Restricted</label> + <description>Not for general disclosure</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>confidential</code> + <label>Confidential</label> + <description>Available for someone who can be entrusted with information (protected)</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>secret</code> + <label>Secret</label> + <description>Kept or meant to be kept private, unknown, or hidden from all but a select group of people (highly protected)</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>topSecret</code> + <label>Top secret</label> + <description>Of the highest secrecy</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + </codelist> + <!-- ==================================================== --> + <codelist name="gmd:MD_CoverageContentTypeCode"> + <entry> + <code>image</code> + <label>Image</label> + <description>Meaningful numerical representation of a physical parameter that is not the actual value of the physical parameter</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>thematicClassification</code> + <label>Thematic classification</label> + <description>Code value with no quantitative meaning, used to represent a physical quantity</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>physicalMeasurement</code> + <label>Physical measurement</label> + <description>Value in physical units of the quantity being measured</description> + </entry> + <!-- - - - - - - - - - -... [truncated message content] |
From: <sp...@us...> - 2011-10-25 02:17:37
|
Revision: 8318 http://geonetwork.svn.sourceforge.net/geonetwork/?rev=8318&view=rev Author: sppigot Date: 2011-10-25 02:17:30 +0000 (Tue, 25 Oct 2011) Log Message: ----------- Switch schemaPlugins to numeric indexing of bounding box values Modified Paths: -------------- schemaPlugins/trunk/anzmeta/index-fields.xsl schemaPlugins/trunk/eml-gbif/index-fields.xsl schemaPlugins/trunk/iso19139.anzlic/index-fields.xsl schemaPlugins/trunk/iso19139.mcp/index-fields.xsl schemaPlugins/trunk/iso19139.mcp/present/metadata-iso19139.mcp.xsl schemaPlugins/trunk/iso19139.mcp-1.4/index-fields.xsl Modified: schemaPlugins/trunk/anzmeta/index-fields.xsl =================================================================== --- schemaPlugins/trunk/anzmeta/index-fields.xsl 2011-10-25 01:27:07 UTC (rev 8317) +++ schemaPlugins/trunk/anzmeta/index-fields.xsl 2011-10-25 02:17:30 UTC (rev 8318) @@ -24,20 +24,9 @@ <xsl:apply-templates select="/anzmeta/descript/abstract"> <xsl:with-param name="token" select="'true'"/> </xsl:apply-templates> + + <xsl:apply-templates select="/anzmeta/descript/spdom/bounding" mode="latLon"/> - <xsl:apply-templates select="/anzmeta/spdom/bounding/westbc" mode="latLon"> - <xsl:with-param name="name" select="'westBL'"/> - </xsl:apply-templates> - <xsl:apply-templates select="/anzmeta/spdom/bounding/eastbc" mode="latLon"> - <xsl:with-param name="name" select="'eastBL'"/> - </xsl:apply-templates> - <xsl:apply-templates select="/anzmeta/spdom/bounding/southbc" mode="latLon"> - <xsl:with-param name="name" select="'southBL'"/> - </xsl:apply-templates> - <xsl:apply-templates select="/anzmeta/spdom/bounding/northbc" mode="latLon"> - <xsl:with-param name="name" select="'northBL'"/> - </xsl:apply-templates> - <xsl:apply-templates select="/anzmeta/citeinfo/origin/jurisdic/keyword"> <xsl:with-param name="name" select="'keyword'"/> <xsl:with-param name="store" select="'true'"/> @@ -82,8 +71,22 @@ <!-- latlon coordinates + 360, zero-padded, indexed, not stored, not tokenized --> <xsl:template match="*" mode="latLon"> - <xsl:param name="name" select="name(.)"/> - <Field name="{$name}" string="{string(.) + 360}" store="true" index="true"/> + <xsl:variable name="format" select="'##.00'"></xsl:variable> + <xsl:if test="number(westbc)"> + <Field name="westBL" string="{format-number(westbc, $format)}" store="true" index="true"/> + </xsl:if> + + <xsl:if test="number(southbc)"> + <Field name="southBL" string="{format-number(southbc, $format)}" store="true" index="true"/> + </xsl:if> + + <xsl:if test="number(eastbc)"> + <Field name="eastBL" string="{format-number(eastbc, $format)}" store="true" index="true"/> + </xsl:if> + + <xsl:if test="number(northbc)"> + <Field name="northBL" string="{format-number(northbc, $format)}" store="true" index="true"/> + </xsl:if> </xsl:template> <!-- ========================================================================================= --> Modified: schemaPlugins/trunk/eml-gbif/index-fields.xsl =================================================================== --- schemaPlugins/trunk/eml-gbif/index-fields.xsl 2011-10-25 01:27:07 UTC (rev 8317) +++ schemaPlugins/trunk/eml-gbif/index-fields.xsl 2011-10-25 02:17:30 UTC (rev 8318) @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8" ?> -<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" +<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:dc="http://purl.org/dc/terms/" xmlns:eml="eml://ecoinformatics.org/eml-2.1.1"> @@ -189,24 +189,26 @@ </xsl:template> <!-- ========================================================================================= --> - <!-- latlon coordinates + 360, zero-padded, indexed, not stored, not tokenized --> + <!-- latlon coordinates indexed as numeric. --> <xsl:template match="*" mode="latLon"> - + + <xsl:variable name="format" select="'##.00'"></xsl:variable> + <xsl:for-each select="westBoundingCoordinate"> - <Field name="westBL" string="{string(.) + 360}" store="true" index="true"/> + <Field name="westBL" string="{format-number(westBoundingCoordinate, $format)}" store="true" index="true"/> </xsl:for-each> <xsl:for-each select="southBoundingCoordinate"> - <Field name="southBL" string="{string(.) + 360}" store="true" index="true"/> + <Field name="southBL" string="{format-number(southBoundingCoordinate, $format)}" store="true" index="true"/> </xsl:for-each> <xsl:for-each select="eastBoundingCoordinate"> - <Field name="eastBL" string="{string(.) + 360}" store="true" index="true"/> + <Field name="eastBL" string="{format-number(eastBoundingCoordinate, $format)}" store="true" index="true"/> </xsl:for-each> <xsl:for-each select="northBoundingCoordinate"> - <Field name="northBL" string="{string(.) + 360}" store="true" index="true"/> + <Field name="northBL" string="{format-number(northBoundingCoordinate, $format)}" store="true" index="true"/> </xsl:for-each> </xsl:template> Modified: schemaPlugins/trunk/iso19139.anzlic/index-fields.xsl =================================================================== --- schemaPlugins/trunk/iso19139.anzlic/index-fields.xsl 2011-10-25 01:27:07 UTC (rev 8317) +++ schemaPlugins/trunk/iso19139.anzlic/index-fields.xsl 2011-10-25 02:17:30 UTC (rev 8318) @@ -422,26 +422,33 @@ </xsl:template> <!-- ========================================================================================= --> - <!-- latlon coordinates + 360, zero-padded, indexed, not stored, not tokenized --> + <!-- latlon coordinates indexed as numeric. --> <xsl:template match="*" mode="latLon"> - - <xsl:for-each select="gmd:westBoundLongitude"> - <Field name="westBL" string="{string(gco:Decimal) + 360}" store="true" index="true"/> - </xsl:for-each> - - <xsl:for-each select="gmd:southBoundLatitude"> - <Field name="southBL" string="{string(gco:Decimal) + 360}" store="true" index="true"/> - </xsl:for-each> - - <xsl:for-each select="gmd:eastBoundLongitude"> - <Field name="eastBL" string="{string(gco:Decimal) + 360}" store="true" index="true"/> - </xsl:for-each> - - <xsl:for-each select="gmd:northBoundLatitude"> - <Field name="northBL" string="{string(gco:Decimal) + 360}" store="true" index="true"/> - </xsl:for-each> - + <xsl:variable name="format" select="'##.00'"></xsl:variable> + <xsl:for-each select="gmd:westBoundLongitude"> + <xsl:if test="number(gco:Decimal)"> + <Field name="westBL" string="{format-number(gco:Decimal, $format)}" store="true" index="true"/> + </xsl:if> + </xsl:for-each> + + <xsl:for-each select="gmd:southBoundLatitude"> + <xsl:if test="number(gco:Decimal)"> + <Field name="southBL" string="{format-number(gco:Decimal, $format)}" store="true" index="true"/> + </xsl:if> + </xsl:for-each> + + <xsl:for-each select="gmd:eastBoundLongitude"> + <xsl:if test="number(gco:Decimal)"> + <Field name="eastBL" string="{format-number(gco:Decimal, $format)}" store="true" index="true"/> + </xsl:if> + </xsl:for-each> + + <xsl:for-each select="gmd:northBoundLatitude"> + <xsl:if test="number(gco:Decimal)"> + <Field name="northBL" string="{format-number(gco:Decimal, $format)}" store="true" index="true"/> + </xsl:if> + </xsl:for-each> </xsl:template> <!-- ========================================================================================= --> Modified: schemaPlugins/trunk/iso19139.mcp/index-fields.xsl =================================================================== --- schemaPlugins/trunk/iso19139.mcp/index-fields.xsl 2011-10-25 01:27:07 UTC (rev 8317) +++ schemaPlugins/trunk/iso19139.mcp/index-fields.xsl 2011-10-25 02:17:30 UTC (rev 8318) @@ -384,39 +384,33 @@ </xsl:template> <!-- ========================================================================================= --> - <!-- latlon coordinates + 360, zero-padded, indexed, not stored, not tokenized --> + <!-- latlon coordinates indexed as numeric. --> <xsl:template match="*" mode="latLon"> - <xsl:variable name="westBL" select="number(gmd:westBoundLongitude/gco:Decimal)"/> - <xsl:variable name="eastBL" select="number(gmd:eastBoundLongitude/gco:Decimal)"/> - <xsl:variable name="southBL" select="number(gmd:southBoundLatitude/gco:Decimal)"/> - <xsl:variable name="northBL" select="number(gmd:northBoundLatitude/gco:Decimal)"/> - <xsl:choose> - <xsl:when test="$westBL=NaN or $eastBL=NaN or $northBL=NaN or $southBL=NaN"> - <!-- don't index invalid bounding boxes --> - </xsl:when> - <xsl:when test="$eastBL < $westBL"> - <Field name="crossesMeridian" string="true" store="true" index="true"/> - <!-- Split extents crossing anti-meridian into two bounding boxes for searching purposes --> - <!-- Eastern bounding box --> - <Field name="westBL" string="{$westBL + 360}" store="true" index="true"/> - <Field name="eastBL" string="{180 + 360}" store="true" index="true"/> - <Field name="northBL" string="{$northBL + 360}" store="true" index="true"/> - <Field name="southBL" string="{$southBL + 360}" store="true" index="true"/> - <!-- Western bounding box --> - <Field name="westBL2" string="{-180 + 360}" store="true" index="true"/> - <Field name="eastBL2" string="{$eastBL + 360}" store="true" index="true"/> - <Field name="northBL2" string="{$northBL + 360}" store="true" index="true"/> - <Field name="southBL2" string="{$southBL + 360}" store="true" index="true"/> - </xsl:when> - <xsl:otherwise> - <Field name="crossesMeridian" string="false" store="true" index="true"/> - <Field name="westBL" string="{$westBL + 360}" store="true" index="true"/> - <Field name="eastBL" string="{$eastBL + 360}" store="true" index="true"/> - <Field name="northBL" string="{$northBL + 360}" store="true" index="true"/> - <Field name="southBL" string="{$southBL + 360}" store="true" index="true"/> - </xsl:otherwise> - </xsl:choose> + <xsl:variable name="format" select="'##.00'"></xsl:variable> + <xsl:for-each select="gmd:westBoundLongitude"> + <xsl:if test="number(gco:Decimal)"> + <Field name="westBL" string="{format-number(gco:Decimal, $format)}" store="true" index="true"/> + </xsl:if> + </xsl:for-each> + + <xsl:for-each select="gmd:southBoundLatitude"> + <xsl:if test="number(gco:Decimal)"> + <Field name="southBL" string="{format-number(gco:Decimal, $format)}" store="true" index="true"/> + </xsl:if> + </xsl:for-each> + + <xsl:for-each select="gmd:eastBoundLongitude"> + <xsl:if test="number(gco:Decimal)"> + <Field name="eastBL" string="{format-number(gco:Decimal, $format)}" store="true" index="true"/> + </xsl:if> + </xsl:for-each> + + <xsl:for-each select="gmd:northBoundLatitude"> + <xsl:if test="number(gco:Decimal)"> + <Field name="northBL" string="{format-number(gco:Decimal, $format)}" store="true" index="true"/> + </xsl:if> + </xsl:for-each> </xsl:template> <!-- ========================================================================================= --> Modified: schemaPlugins/trunk/iso19139.mcp/present/metadata-iso19139.mcp.xsl =================================================================== --- schemaPlugins/trunk/iso19139.mcp/present/metadata-iso19139.mcp.xsl 2011-10-25 01:27:07 UTC (rev 8317) +++ schemaPlugins/trunk/iso19139.mcp/present/metadata-iso19139.mcp.xsl 2011-10-25 02:17:30 UTC (rev 8318) @@ -1196,21 +1196,14 @@ </xsl:when> </xsl:choose> - </xsl:for-each> - <xsl:for-each select="gmd:extent/mcp:EX_Extent/gmd:temporalElement/mcp:EX_TemporalExtent/gmd:extent/gml:TimePeriod"> - <temporalExtent> - <begin><xsl:apply-templates mode="brieftime" select="gml:beginPosition|gml:begin/gml:TimeInstant/gml:timePosition"/></begin> - <end><xsl:apply-templates mode="brieftime" select="gml:endPosition|gml:end/gml:TimeInstant/gml:timePosition"/></end> - </temporalExtent> - </xsl:for-each> - - <xsl:for-each select="gmd:extent/mcp:EX_Extent/mcp:taxonomicElement/mcp:EX_TaxonomicCoverage/mcp:presentationLink"> - <taxonomicCoverage> - <link><xsl:value-of select="string(.)"/></link> - </taxonomicCoverage> - </xsl:for-each> + <xsl:for-each select="gmd:extent/mcp:EX_Extent/mcp:taxonomicElement/mcp:EX_TaxonomicCoverage/mcp:presentationLink"> + <taxonomicCoverage> + <link><xsl:value-of select="string(.)"/></link> + </taxonomicCoverage> + </xsl:for-each> + </xsl:for-each> </xsl:template> <!-- helper to create a simplified view of a CI_ResponsibleParty block --> Modified: schemaPlugins/trunk/iso19139.mcp-1.4/index-fields.xsl =================================================================== --- schemaPlugins/trunk/iso19139.mcp-1.4/index-fields.xsl 2011-10-25 01:27:07 UTC (rev 8317) +++ schemaPlugins/trunk/iso19139.mcp-1.4/index-fields.xsl 2011-10-25 02:17:30 UTC (rev 8318) @@ -368,39 +368,33 @@ </xsl:template> <!-- ========================================================================================= --> - <!-- latlon coordinates + 360, zero-padded, indexed, not stored, not tokenized --> + <!-- latlon coordinates indexed as numeric. --> <xsl:template match="*" mode="latLon"> - <xsl:variable name="westBL" select="number(gmd:westBoundLongitude/gco:Decimal)"/> - <xsl:variable name="eastBL" select="number(gmd:eastBoundLongitude/gco:Decimal)"/> - <xsl:variable name="southBL" select="number(gmd:southBoundLatitude/gco:Decimal)"/> - <xsl:variable name="northBL" select="number(gmd:northBoundLatitude/gco:Decimal)"/> - <xsl:choose> - <xsl:when test="$westBL=NaN or $eastBL=NaN or $northBL=NaN or $southBL=NaN"> - <!-- don't index invalid bounding boxes --> - </xsl:when> - <xsl:when test="$eastBL < $westBL"> - <Field name="crossesMeridian" string="true" store="true" index="true"/> - <!-- Split extents crossing anti-meridian into two bounding boxes for searching purposes --> - <!-- Eastern bounding box --> - <Field name="westBL" string="{$westBL + 360}" store="true" index="true"/> - <Field name="eastBL" string="{180 + 360}" store="true" index="true"/> - <Field name="northBL" string="{$northBL + 360}" store="true" index="true"/> - <Field name="southBL" string="{$southBL + 360}" store="true" index="true"/> - <!-- Western bounding box --> - <Field name="westBL2" string="{-180 + 360}" store="true" index="true"/> - <Field name="eastBL2" string="{$eastBL + 360}" store="true" index="true"/> - <Field name="northBL2" string="{$northBL + 360}" store="true" index="true"/> - <Field name="southBL2" string="{$southBL + 360}" store="true" index="true"/> - </xsl:when> - <xsl:otherwise> - <Field name="crossesMeridian" string="false" store="true" index="true"/> - <Field name="westBL" string="{$westBL + 360}" store="true" index="true"/> - <Field name="eastBL" string="{$eastBL + 360}" store="true" index="true"/> - <Field name="northBL" string="{$northBL + 360}" store="true" index="true"/> - <Field name="southBL" string="{$southBL + 360}" store="true" index="true"/> - </xsl:otherwise> - </xsl:choose> + <xsl:variable name="format" select="'##.00'"></xsl:variable> + <xsl:for-each select="gmd:westBoundLongitude"> + <xsl:if test="number(gco:Decimal)"> + <Field name="westBL" string="{format-number(gco:Decimal, $format)}" store="true" index="true"/> + </xsl:if> + </xsl:for-each> + + <xsl:for-each select="gmd:southBoundLatitude"> + <xsl:if test="number(gco:Decimal)"> + <Field name="southBL" string="{format-number(gco:Decimal, $format)}" store="true" index="true"/> + </xsl:if> + </xsl:for-each> + + <xsl:for-each select="gmd:eastBoundLongitude"> + <xsl:if test="number(gco:Decimal)"> + <Field name="eastBL" string="{format-number(gco:Decimal, $format)}" store="true" index="true"/> + </xsl:if> + </xsl:for-each> + + <xsl:for-each select="gmd:northBoundLatitude"> + <xsl:if test="number(gco:Decimal)"> + <Field name="northBL" string="{format-number(gco:Decimal, $format)}" store="true" index="true"/> + </xsl:if> + </xsl:for-each> </xsl:template> <!-- ========================================================================================= --> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <jo...@us...> - 2011-10-25 23:31:06
|
Revision: 8329 http://geonetwork.svn.sourceforge.net/geonetwork/?rev=8329&view=rev Author: jonescc Date: 2011-10-25 23:30:55 +0000 (Tue, 25 Oct 2011) Log Message: ----------- Include dynamnic/download fields for anzlic profile as well. More closely align dynamic/download field indexing with iso19139 indexing Index long data parameter name for search suggestions Modified Paths: -------------- schemaPlugins/trunk/iso19139.anzlic/index-fields.xsl schemaPlugins/trunk/iso19139.mcp/index-fields.xsl schemaPlugins/trunk/iso19139.mcp-1.4/index-fields.xsl Modified: schemaPlugins/trunk/iso19139.anzlic/index-fields.xsl =================================================================== --- schemaPlugins/trunk/iso19139.anzlic/index-fields.xsl 2011-10-25 20:21:17 UTC (rev 8328) +++ schemaPlugins/trunk/iso19139.anzlic/index-fields.xsl 2011-10-25 23:30:55 UTC (rev 8329) @@ -295,6 +295,14 @@ <xsl:if test="normalize-space($mimetype)!=''"> <Field name="mimetype" string="{$mimetype}" store="true" index="true"/> </xsl:if> + + <xsl:if test="contains(., 'WWW:DOWNLOAD')"> + <Field name="download" string="true" store="false" index="true"/> + </xsl:if> + + <xsl:if test="contains(., 'OGC:WMS')"> + <Field name="dynamic" string="true" store="false" index="true"/> + </xsl:if> </xsl:for-each> </xsl:for-each> Modified: schemaPlugins/trunk/iso19139.mcp/index-fields.xsl =================================================================== --- schemaPlugins/trunk/iso19139.mcp/index-fields.xsl 2011-10-25 20:21:17 UTC (rev 8328) +++ schemaPlugins/trunk/iso19139.mcp/index-fields.xsl 2011-10-25 23:30:55 UTC (rev 8329) @@ -89,6 +89,10 @@ <xsl:for-each select="mcp:dataParameters/mcp:DP_DataParameters/mcp:dataParameter"> <xsl:for-each select="mcp:DP_DataParameter/mcp:parameterName"> <Field name="dataparam" string="{mcp:DP_ParameterName/mcp:name/gco:CharacterString}" store="true" index="true"/> + + <xsl:if test="mcp:DP_ParameterName/mcp:type/mcp:DP_TypeCode/@codeListValue='longName'"> + <Field name="longParamName" string="{mcp:DP_ParameterName/mcp:name/gco:CharacterString}" store="true" index="true"/> + </xsl:if> </xsl:for-each> </xsl:for-each> @@ -280,16 +284,15 @@ <xsl:if test="normalize-space($mimetype)!=''"> <Field name="mimetype" string="{$mimetype}" store="true" index="true"/> </xsl:if> + + <xsl:if test="contains(., 'WWW:DOWNLOAD')"> + <Field name="download" string="true" store="false" index="true"/> + </xsl:if> + + <xsl:if test="contains(., 'OGC:WMS')"> + <Field name="dynamic" string="true" store="false" index="true"/> + </xsl:if> </xsl:for-each> - - <xsl:if test="contains(., 'WWW:DOWNLOAD')"> - <Field name="download" string="true" store="false" index="true"/> - </xsl:if> - - <xsl:if test="contains(., 'OGC:WMS')"> - <Field name="dynamic" string="true" store="false" index="true"/> - </xsl:if> - </xsl:for-each> <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> Modified: schemaPlugins/trunk/iso19139.mcp-1.4/index-fields.xsl =================================================================== --- schemaPlugins/trunk/iso19139.mcp-1.4/index-fields.xsl 2011-10-25 20:21:17 UTC (rev 8328) +++ schemaPlugins/trunk/iso19139.mcp-1.4/index-fields.xsl 2011-10-25 23:30:55 UTC (rev 8329) @@ -89,6 +89,10 @@ <xsl:for-each select="mcp:dataParameters/mcp:DP_DataParameters/mcp:dataParameter"> <xsl:for-each select="mcp:DP_DataParameter/mcp:parameterName"> <Field name="dataparam" string="{mcp:DP_ParameterName/mcp:name/gco:CharacterString}" store="true" index="true"/> + + <xsl:if test="mcp:DP_ParameterName/mcp:type/mcp:DP_TypeCode/@codeListValue='longName'"> + <Field name="longParamName" string="{mcp:DP_ParameterName/mcp:name/gco:CharacterString}" store="true" index="true"/> + </xsl:if> </xsl:for-each> </xsl:for-each> @@ -264,16 +268,15 @@ <xsl:if test="normalize-space($mimetype)!=''"> <Field name="mimetype" string="{$mimetype}" store="true" index="true"/> </xsl:if> + + <xsl:if test="contains(., 'WWW:DOWNLOAD')"> + <Field name="download" string="true" store="false" index="true"/> + </xsl:if> + + <xsl:if test="contains(., 'OGC:WMS')"> + <Field name="dynamic" string="true" store="false" index="true"/> + </xsl:if> </xsl:for-each> - - <xsl:if test="contains(., 'WWW:DOWNLOAD')"> - <Field name="download" string="true" store="false" index="true"/> - </xsl:if> - - <xsl:if test="contains(., 'OGC:WMS')"> - <Field name="dynamic" string="true" store="false" index="true"/> - </xsl:if> - </xsl:for-each> <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <sp...@us...> - 2011-10-28 08:36:01
|
Revision: 8355 http://geonetwork.svn.sourceforge.net/geonetwork/?rev=8355&view=rev Author: sppigot Date: 2011-10-28 08:35:54 +0000 (Fri, 28 Oct 2011) Log Message: ----------- Add service descriptions for saving metadata records from these schemaPlugins as XML files Modified Paths: -------------- schemaPlugins/trunk/eml-gbif/loc/en/strings.xml schemaPlugins/trunk/iso19135/loc/en/strings.xml schemaPlugins/trunk/iso19139.anzlic/loc/en/strings.xml schemaPlugins/trunk/iso19139.mcp/loc/en/strings.xml schemaPlugins/trunk/iso19139.mcp-1.4/loc/en/strings.xml Modified: schemaPlugins/trunk/eml-gbif/loc/en/strings.xml =================================================================== --- schemaPlugins/trunk/eml-gbif/loc/en/strings.xml 2011-10-28 08:12:55 UTC (rev 8354) +++ schemaPlugins/trunk/eml-gbif/loc/en/strings.xml 2011-10-28 08:35:54 UTC (rev 8355) @@ -12,4 +12,6 @@ <spatialExtentTab>Spatial Extent</spatialExtentTab> <temporalExtentTab>Temporal Ext.</temporalExtentTab> <otherInfo>Other Information</otherInfo> + <xml_eml-gbif>Save this metadata as an EML-GBIF XML file</xml_eml-gbif> + <xml_eml-gbifTorifcs>Save this metadata as an ANDS rifcs XML file</xml_eml-gbifTorifcs> </strings> Modified: schemaPlugins/trunk/iso19135/loc/en/strings.xml =================================================================== --- schemaPlugins/trunk/iso19135/loc/en/strings.xml 2011-10-28 08:12:55 UTC (rev 8354) +++ schemaPlugins/trunk/iso19135/loc/en/strings.xml 2011-10-28 08:35:54 UTC (rev 8355) @@ -7,4 +7,5 @@ <managerTab>Manager</managerTab> <registerItemsTab>Register Items</registerItemsTab> <allTab>All</allTab> + <xml_iso19135>Save this metadata as an ISO19135 XML file</xml_iso19135> </strings> Modified: schemaPlugins/trunk/iso19139.anzlic/loc/en/strings.xml =================================================================== --- schemaPlugins/trunk/iso19139.anzlic/loc/en/strings.xml 2011-10-28 08:12:55 UTC (rev 8354) +++ schemaPlugins/trunk/iso19139.anzlic/loc/en/strings.xml 2011-10-28 08:35:54 UTC (rev 8355) @@ -14,4 +14,6 @@ <spatialExtentTab>Spatial Extent</spatialExtentTab> <temporalExtentTab>Temporal Ext.</temporalExtentTab> <deprecatedTimeStrings>Deprecated - use time elements above</deprecatedTimeStrings> + <xml_iso19139.anzlic>Save this metadata as an ISO19139 ANZLIC XML file</xml_iso19139.anzlic> + <xml_iso19139.anzlicTorifcs>Save this metadata as an ANDS rifcs XML file</xml_iso19139.anzlicTorifcs> </strings> Modified: schemaPlugins/trunk/iso19139.mcp/loc/en/strings.xml =================================================================== --- schemaPlugins/trunk/iso19139.mcp/loc/en/strings.xml 2011-10-28 08:12:55 UTC (rev 8354) +++ schemaPlugins/trunk/iso19139.mcp/loc/en/strings.xml 2011-10-28 08:35:54 UTC (rev 8355) @@ -105,4 +105,7 @@ <taxonSearch>Search APC/AFD for Taxonomic Names</taxonSearch> <temporalExtent>Time Span:</temporalExtent> <uuid>Universal Unique Identifier (UUID)</uuid> + <xml_iso19139.mcp>Save this metadata as an ISO19139 Marine Community Profile XML file</xml_iso19139.mcp> + <xml_iso19139.mcp-1.4>Save this metadata as a Version 1.4 ISO19139 Marine Community Profile XML file</xml_iso19139.mcp-1.4> + <xml_iso19139.mcpTorifcs>Save this metadata as an ANDS rifcs XML file</xml_iso19139.mcpTorifcs> </strings> Modified: schemaPlugins/trunk/iso19139.mcp-1.4/loc/en/strings.xml =================================================================== --- schemaPlugins/trunk/iso19139.mcp-1.4/loc/en/strings.xml 2011-10-28 08:12:55 UTC (rev 8354) +++ schemaPlugins/trunk/iso19139.mcp-1.4/loc/en/strings.xml 2011-10-28 08:35:54 UTC (rev 8355) @@ -103,4 +103,6 @@ <taxon>Taxonomic Names</taxon> <temporalExtent>Time Span:</temporalExtent> <uuid>Universal Unique Identifier (UUID)</uuid> + <xml_iso19139.mcp-1.4>Save this metadata as an ISO19139 Marine Community Profile XML file</xml_iso19139.mcp-1.4> + <xml_iso19139.mcp-1.4Torifcs>Save this metadata as an ANDS rifcs XML file</xml_iso19139.mcp-1.4Torifcs> </strings> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <sp...@us...> - 2011-10-28 09:43:44
|
Revision: 8356 http://geonetwork.svn.sourceforge.net/geonetwork/?rev=8356&view=rev Author: sppigot Date: 2011-10-28 09:43:37 +0000 (Fri, 28 Oct 2011) Log Message: ----------- Add some missing xml converters Added Paths: ----------- schemaPlugins/trunk/anzmeta/convert/xml_anzmeta.xsl schemaPlugins/trunk/iso19139.mcp-1.4/convert/xml_iso19139.mcp-1.4.xsl Added: schemaPlugins/trunk/anzmeta/convert/xml_anzmeta.xsl =================================================================== --- schemaPlugins/trunk/anzmeta/convert/xml_anzmeta.xsl (rev 0) +++ schemaPlugins/trunk/anzmeta/convert/xml_anzmeta.xsl 2011-10-28 09:43:37 UTC (rev 8356) @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<xsl:stylesheet version="1.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xmlns:geonet="http://www.fao.org/geonetwork" + xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> + + <!-- This stylesheet produces anzmeta metadata in XML format --> + <xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes" /> + + <!-- Metadata is passed under /root XPath --> + <xsl:template match="/root"> + <xsl:choose> + <!-- Export anzmeta XML (just a copy) --> + <xsl:when test="anzmeta"> + <xsl:apply-templates select="anzmeta"/> + </xsl:when> + </xsl:choose> + </xsl:template> + + <!-- Delete any GeoNetwork specific elements --> + <xsl:template match="geonet:*"/> + + <!-- Copy everything else --> + <xsl:template match="@*|node()"> + <xsl:copy> + <xsl:apply-templates select="@*|node()[name(self::*)!='geonet:info']"/> + </xsl:copy> + </xsl:template> + +</xsl:stylesheet> Added: schemaPlugins/trunk/iso19139.mcp-1.4/convert/xml_iso19139.mcp-1.4.xsl =================================================================== --- schemaPlugins/trunk/iso19139.mcp-1.4/convert/xml_iso19139.mcp-1.4.xsl (rev 0) +++ schemaPlugins/trunk/iso19139.mcp-1.4/convert/xml_iso19139.mcp-1.4.xsl 2011-10-28 09:43:37 UTC (rev 8356) @@ -0,0 +1,53 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<xsl:stylesheet version="1.0" + xmlns:mcp="http://bluenet3.antcrc.utas.edu.au/mcp" + xmlns:gmd="http://www.isotc211.org/2005/gmd" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xmlns:geonet="http://www.fao.org/geonetwork" + xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> + + <!-- This stylesheet produces iso19139.mcp metadata in XML format --> + <xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes" /> + + <!-- Metadata is passed under /root XPath --> + <xsl:template match="/root"> + <xsl:choose> + <!-- Export iso19139.mcp XML (just a copy) --> + <xsl:when test="mcp:MD_Metadata"> + <xsl:apply-templates select="mcp:MD_Metadata"/> + </xsl:when> + </xsl:choose> + </xsl:template> + + <!-- Copy the root element and add the appropriate schemaLocation --> + <!-- FIXME: get schemaLocation from official schema-ident.xml file --> + <xsl:template match="mcp:MD_Metadata"> + <xsl:copy> + <xsl:copy-of select="@*[name(.)!='xsi:schemaLocation']"/> + <xsl:attribute name="xsi:schemaLocation">http://www.isotc211.org/2005/gmd http://www.isotc211.org/2005/gmd/gmd.xsd http://www.isotc211.org/2005/srv http://schemas.opengis.net/iso/19139/20060504/srv/srv.xsd http://bluenet3.antcrc.utas.edu.au/mcp http://bluenet3.antcrc.utas.edu.au/mcp-1.4/schema.xsd</xsl:attribute> + <xsl:apply-templates select="*"/> + </xsl:copy> + </xsl:template> + + <!-- Delete any GeoNetwork specific elements --> + <xsl:template match="geonet:*"/> + + <!-- Delete any MCP elements that don't belong in 1.4 --> + <xsl:template match="mcp:taxonomicElement"/> + + <!-- Convert mcp:EX_Extent to gmd:EX_Extent --> + <xsl:template match="mcp:EX_Extent"> + <gmd:EX_Extent> + <xsl:apply-templates select="@*|*"/> + </gmd:EX_Extent> + </xsl:template> + + <!-- Copy everything else --> + <xsl:template match="@*|node()"> + <xsl:copy> + <xsl:apply-templates select="@*|node()[name(self::*)!='geonet:info']"/> + </xsl:copy> + </xsl:template> + +</xsl:stylesheet> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <sp...@us...> - 2011-10-29 15:50:51
|
Revision: 8372 http://geonetwork.svn.sourceforge.net/geonetwork/?rev=8372&view=rev Author: sppigot Date: 2011-10-29 15:50:44 +0000 (Sat, 29 Oct 2011) Log Message: ----------- Add templates for schema plugin specific javascript to plugin schemas Add schema plugin specific javascript for iso19139.mcp Modified Paths: -------------- schemaPlugins/trunk/anzmeta/present/metadata-anzmeta.xsl schemaPlugins/trunk/eml-gbif/present/metadata-eml-gbif.xsl schemaPlugins/trunk/iso19135/present/metadata-iso19135.xsl schemaPlugins/trunk/iso19139.anzlic/present/metadata-iso19139.anzlic.xsl schemaPlugins/trunk/iso19139.fra/present/metadata-iso19139.fra.xsl schemaPlugins/trunk/iso19139.mcp/present/metadata-iso19139.mcp.xsl schemaPlugins/trunk/iso19139.mcp-1.4/present/metadata-iso19139.mcp-1.4.xsl Modified: schemaPlugins/trunk/anzmeta/present/metadata-anzmeta.xsl =================================================================== --- schemaPlugins/trunk/anzmeta/present/metadata-anzmeta.xsl 2011-10-29 15:47:58 UTC (rev 8371) +++ schemaPlugins/trunk/anzmeta/present/metadata-anzmeta.xsl 2011-10-29 15:50:44 UTC (rev 8372) @@ -484,4 +484,9 @@ </xsl:for-each> </xsl:template> + <!-- =================================================================== --> + <!-- === Javascript used by functions in this presentation XSLT --> + <!-- =================================================================== --> + <xsl:template name="anzmeta-javascript"/> + </xsl:stylesheet> Modified: schemaPlugins/trunk/eml-gbif/present/metadata-eml-gbif.xsl =================================================================== --- schemaPlugins/trunk/eml-gbif/present/metadata-eml-gbif.xsl 2011-10-29 15:47:58 UTC (rev 8371) +++ schemaPlugins/trunk/eml-gbif/present/metadata-eml-gbif.xsl 2011-10-29 15:50:44 UTC (rev 8372) @@ -427,4 +427,9 @@ </xsl:for-each> </xsl:template> + <!-- =================================================================== --> + <!-- === Javascript used by functions in this presentation XSLT --> + <!-- =================================================================== --> + <xsl:template name="eml-gbif-javascript"/> + </xsl:stylesheet> Modified: schemaPlugins/trunk/iso19135/present/metadata-iso19135.xsl =================================================================== --- schemaPlugins/trunk/iso19135/present/metadata-iso19135.xsl 2011-10-29 15:47:58 UTC (rev 8371) +++ schemaPlugins/trunk/iso19135/present/metadata-iso19135.xsl 2011-10-29 15:50:44 UTC (rev 8372) @@ -531,4 +531,9 @@ </xsl:choose> </xsl:template> + <!-- =================================================================== --> + <!-- === Javascript used by functions in this presentation XSLT --> + <!-- =================================================================== --> + <xsl:template name="iso19135-javascript"/> + </xsl:stylesheet> Modified: schemaPlugins/trunk/iso19139.anzlic/present/metadata-iso19139.anzlic.xsl =================================================================== --- schemaPlugins/trunk/iso19139.anzlic/present/metadata-iso19139.anzlic.xsl 2011-10-29 15:47:58 UTC (rev 8371) +++ schemaPlugins/trunk/iso19139.anzlic/present/metadata-iso19139.anzlic.xsl 2011-10-29 15:50:44 UTC (rev 8372) @@ -1086,5 +1086,10 @@ <!-- match everything else and do nothing - leave that to iso19139 mode --> <xsl:template mode="iso19139.anzlic" match="*|@*"/> + <!-- =================================================================== --> + <!-- === Javascript used by functions in this presentation XSLT --> + <!-- =================================================================== --> + <xsl:template name="iso19139.anzlic-javascript"/> + </xsl:stylesheet> Modified: schemaPlugins/trunk/iso19139.fra/present/metadata-iso19139.fra.xsl =================================================================== --- schemaPlugins/trunk/iso19139.fra/present/metadata-iso19139.fra.xsl 2011-10-29 15:47:58 UTC (rev 8371) +++ schemaPlugins/trunk/iso19139.fra/present/metadata-iso19139.fra.xsl 2011-10-29 15:50:44 UTC (rev 8372) @@ -678,4 +678,10 @@ </xsl:with-param> </xsl:call-template> </xsl:template> + + <!-- =================================================================== --> + <!-- === Javascript used by functions in this presentation XSLT --> + <!-- =================================================================== --> + <xsl:template name="iso19139.fra-javascript"/> + </xsl:stylesheet> Modified: schemaPlugins/trunk/iso19139.mcp/present/metadata-iso19139.mcp.xsl =================================================================== --- schemaPlugins/trunk/iso19139.mcp/present/metadata-iso19139.mcp.xsl 2011-10-29 15:47:58 UTC (rev 8371) +++ schemaPlugins/trunk/iso19139.mcp/present/metadata-iso19139.mcp.xsl 2011-10-29 15:50:44 UTC (rev 8372) @@ -1794,9 +1794,9 @@ </xsl:for-each> </xsl:template> - <!-- ===================================================================== --> + <!-- ==================================================================== --> <!-- === iso19139.mcp brief formatting === --> - <!-- ===================================================================== --> + <!-- ==================================================================== --> <xsl:template match="iso19139.mcpBrief"> <metadata> @@ -1812,4 +1812,141 @@ <!-- match everything else and do nothing - leave that to iso19139 mode --> <xsl:template mode="iso19139.mcp" match="*|@*"/> + <!-- ==================================================================== --> + <!-- === Javascript used by functions in this presentation XSLT --> + <!-- ==================================================================== --> + + <!-- Javascript used by functions in this XSLT --> + <xsl:template name="iso19139.mcp-javascript"> + <xsl:message>Adding iso19139.mcp-javascript</xsl:message> + <script type="text/javascript"> + <![CDATA[ +/** + * JavaScript Functions to support Marine Community Profile + */ + +function submitTaxonSearch(refToUpdate) { + // submit search to APC/AFD search URL with params + // using Ajax.Updater + + $('taxonSearchButton').hide(); + $('taxonSearchWaitMessage').show(); + + + var forwardUrl = 'http://biodiversity.org.au/name/?'; + + var forwardTempBeg = + '<request>'+ + ' <site>'+ + ' <url>{URL}</url>'+ + ' <type>other</type>'+ + ' </site>'+ + ' <params>'; + var forwardTempEnd = '</params>'+ + '</request>'; + + // build params from form + var hmParams = $('taxonSearchForm').serialize(true); + var params = ''; + + for (var name in hmParams) { + params = params + '<'+name+'>'+hmParams[name]+'</'+name+'>\n'; + } + + var request = str.substitute(forwardTempBeg, { URL : forwardUrl })+params+forwardTempEnd; + + ker.send('xml.forward.taxonsearch', request, ker.wrap(this, retrieve_OK)); + + function retrieve_OK(xmlRes) { + var selectedId = 'assignedTaxonName'; + if (xmlRes.nodeName == 'error') + ker.showError('taxonSearchError', xmlRes); + else { + var list = xml.children(xmlRes); + var taxonSearchResults = $('taxonSearchResults'); + taxonSearchResults.update(); // clear it out + for (var i=0; i < list.length; i++) { + var data = xml.toObject(list[i]); + + var divSel = new Element('div', { 'id': 'row_'+i, 'style': 'position:relative;left:-20px;top:-20px' }); + var divName = new Element('div', { 'class': 'table-left' }).update(data.name); + divName.insert(divSel, divName); + var divScore = new Element('div', { 'class': 'table-middle' }).update(data.score); + var anchor = new Element('a', { 'class': 'content', 'onclick': "clickSetRef('"+selectedId+"','"+refToUpdate+"','"+data.uri+"','"+data.name+"','"+i+"');" }).update('Use this name'); + var divAnchor = new Element('div', { 'class': 'table-right' }).update(anchor); + var divTableRow = new Element('div', { 'class': 'table-row' }); + divTableRow.insert(divName, divTableRow); + divTableRow.insert(divScore, divTableRow); + divTableRow.insert(divAnchor, divTableRow); + taxonSearchResults.insert(divTableRow, taxonSearchResults); + } + } + + $('taxonSearchWaitMessage').hide(); + $('taxonSearchResultsHeader').show(); + $('taxonSearchResults').show(); + $('taxonSearchButton').show(); + } + +} + +function clickSetRef(selectedId, refToUpdate, uri, name, index) { + $(refToUpdate).value = uri + '.xml'; + + var selected = $(selectedId); + if (selected != null) { + selected.remove(); + } + var spanSel = new Element('span', { 'id': selectedId, 'class': 'searchHelpFrame', 'style': 'z-index:1000;color:#ff0000;opacity:0.75' }).update('Selected'); + $('row_'+index).insert(spanSel); +} + +function startTaxonSearch(inputFieldToUpdate, taxonSearchTitle) { + pars = "&ref="+inputFieldToUpdate; + new Ajax.Request( + getGNServiceURL('prepare.taxon.search'), + { + method: 'get', + parameters: pars, + onSuccess: function(req) { + Modalbox.show(req.responseText ,{title: taxonSearchTitle, height: 600, width: 800} ); + }, + onFailure: function(req) { + alert("ERROR: "+getGNServiceURL('prepare.taxon.search')+" failed: status "+req.status+" text: "+req.statusText+" - Try again later?"); + } + } + ); +} + +function showCommons(select) { + var commons = $(select).value; + + if (commons == 'Creative Commons') $("creative").show(); + else $("creative").hide(); + + if (commons == 'Data Commons') $("data").show(); + else $("data").hide(); +} + +function doCommonsAction(action, name, licenseurl, type, id) +{ + var top = findPos($(id)); + setBunload(false); + document.mainForm.name.value = $(name).value; + document.mainForm.licenseurl.value = licenseurl; + document.mainForm.type.value = type; + document.mainForm.position.value = top; + doAction(action); +} + +function doResetCommonsAction(action, name, licenseurl, type, id, ref) +{ + $(ref).value = ''; + document.mainForm.ref.value = ''; + doCommonsAction(action, name, licenseurl, type, id); +} + + ]]> + </script> + </xsl:template> </xsl:stylesheet> Modified: schemaPlugins/trunk/iso19139.mcp-1.4/present/metadata-iso19139.mcp-1.4.xsl =================================================================== --- schemaPlugins/trunk/iso19139.mcp-1.4/present/metadata-iso19139.mcp-1.4.xsl 2011-10-29 15:47:58 UTC (rev 8371) +++ schemaPlugins/trunk/iso19139.mcp-1.4/present/metadata-iso19139.mcp-1.4.xsl 2011-10-29 15:50:44 UTC (rev 8372) @@ -201,4 +201,9 @@ </metadata> </xsl:template> + <!-- =================================================================== --> + <!-- === Javascript used by functions in this presentation XSLT --> + <!-- =================================================================== --> + <xsl:template name="iso19139.mcp-1.4-javascript"/> + </xsl:stylesheet> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <jo...@us...> - 2011-11-03 11:49:00
|
Revision: 8413 http://geonetwork.svn.sourceforge.net/geonetwork/?rev=8413&view=rev Author: jonescc Date: 2011-11-03 11:48:54 +0000 (Thu, 03 Nov 2011) Log Message: ----------- No need to index keyword twice - incorrectly doubles term count in summary Modified Paths: -------------- schemaPlugins/trunk/iso19139.mcp/index-fields.xsl schemaPlugins/trunk/iso19139.mcp-1.4/index-fields.xsl Modified: schemaPlugins/trunk/iso19139.mcp/index-fields.xsl =================================================================== --- schemaPlugins/trunk/iso19139.mcp/index-fields.xsl 2011-11-03 09:35:36 UTC (rev 8412) +++ schemaPlugins/trunk/iso19139.mcp/index-fields.xsl 2011-11-03 11:48:54 UTC (rev 8413) @@ -171,7 +171,6 @@ <xsl:for-each select="*/gmd:MD_Keywords"> <xsl:for-each select="gmd:keyword/gco:CharacterString"> <Field name="keyword" string="{string(.)}" store="true" index="true"/> - <Field name="keyword" string="{string(.)}" store="true" index="true"/> <Field name="subject" string="{string(.)}" store="true" index="true"/> </xsl:for-each> Modified: schemaPlugins/trunk/iso19139.mcp-1.4/index-fields.xsl =================================================================== --- schemaPlugins/trunk/iso19139.mcp-1.4/index-fields.xsl 2011-11-03 09:35:36 UTC (rev 8412) +++ schemaPlugins/trunk/iso19139.mcp-1.4/index-fields.xsl 2011-11-03 11:48:54 UTC (rev 8413) @@ -155,7 +155,6 @@ <xsl:for-each select="*/gmd:MD_Keywords"> <xsl:for-each select="gmd:keyword/gco:CharacterString"> <Field name="keyword" string="{string(.)}" store="true" index="true"/> - <Field name="keyword" string="{string(.)}" store="true" index="true"/> <Field name="subject" string="{string(.)}" store="true" index="true"/> </xsl:for-each> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <sp...@us...> - 2011-11-04 09:31:50
|
Revision: 8421 http://geonetwork.svn.sourceforge.net/geonetwork/?rev=8421&view=rev Author: sppigot Date: 2011-11-04 09:31:43 +0000 (Fri, 04 Nov 2011) Log Message: ----------- Changes to support experimental interface Modified Paths: -------------- schemaPlugins/trunk/iso19139.anzlic/present/metadata-iso19139.anzlic-edit.xsl schemaPlugins/trunk/iso19139.mcp/present/metadata-iso19139.mcp-edit.xsl schemaPlugins/trunk/iso19139.mcp/present/metadata-iso19139.mcp.xsl Added Paths: ----------- schemaPlugins/trunk/iso19135/present/metadata-iso19135-edit.xsl schemaPlugins/trunk/iso19135/present/metadata-iso19135-view.xsl Added: schemaPlugins/trunk/iso19135/present/metadata-iso19135-edit.xsl =================================================================== --- schemaPlugins/trunk/iso19135/present/metadata-iso19135-edit.xsl (rev 0) +++ schemaPlugins/trunk/iso19135/present/metadata-iso19135-edit.xsl 2011-11-04 09:31:43 UTC (rev 8421) @@ -0,0 +1,542 @@ +<?xml version="1.0" encoding="UTF-8"?> +<xsl:stylesheet version="1.0" xmlns:xsl ="http://www.w3.org/1999/XSL/Transform" + xmlns:grg="http://www.isotc211.org/2005/grg" + xmlns:gmd="http://www.isotc211.org/2005/gmd" + xmlns:gts="http://www.isotc211.org/2005/gts" + xmlns:gco="http://www.isotc211.org/2005/gco" + xmlns:gmx="http://www.isotc211.org/2005/gmx" + xmlns:srv="http://www.isotc211.org/2005/srv" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xmlns:gml="http://www.opengis.net/gml" + xmlns:xlink="http://www.w3.org/1999/xlink" + xmlns:geonet="http://www.fao.org/geonetwork" + xmlns:exslt="http://exslt.org/common" + exclude-result-prefixes="grg gmx xsi gmd gco gml gts srv xlink exslt geonet"> + <xsl:import href="metadata-iso19135-view.xsl"/> + + <xsl:template name="metadata-iso19135-simple"> + <xsl:call-template name="metadata-iso19135view-simple"/> + </xsl:template> + + <!-- main template - the way into processing iso19135 --> + <xsl:template name="metadata-iso19135"> + <xsl:param name="schema"/> + <xsl:param name="edit" select="false()"/> + <xsl:param name="embedded"/> + + <xsl:choose> + <!-- process in iso19135 mode if grg namespace --> + <xsl:when test="namespace-uri(.)='http://www.isotc211.org/2005/grg'"> + <xsl:apply-templates mode="iso19135" select="." > + <xsl:with-param name="schema" select="$schema"/> + <xsl:with-param name="edit" select="$edit"/> + <xsl:with-param name="embedded" select="$embedded" /> + </xsl:apply-templates> + </xsl:when> + <!-- otherwise process in iso19139 mode --> + <xsl:otherwise> + <xsl:apply-templates mode="iso19139" select="." > + <xsl:with-param name="schema" select="'iso19139'"/> + <xsl:with-param name="edit" select="$edit"/> + <xsl:with-param name="embedded" select="$embedded" /> + </xsl:apply-templates> + </xsl:otherwise> + </xsl:choose> + </xsl:template> + + <!-- =================================================================== --> + <!-- Register --> + <!-- =================================================================== --> + + <xsl:template mode="iso19135" match="grg:RE_Register"> + <xsl:param name="schema"/> + <xsl:param name="edit"/> + <xsl:param name="embedded" select="false()"/> + + <xsl:choose> + + <!-- simple tab --> + <xsl:when test="$currTab='simple'"> + <xsl:apply-templates mode="elementEP" select="*"> + <xsl:with-param name="schema" select="$schema"/> + <xsl:with-param name="edit" select="$edit"/> + </xsl:apply-templates> + </xsl:when> + + <!-- register tab --> + <xsl:when test="$currTab='register'"> + <xsl:call-template name="iso19135Register"> + <xsl:with-param name="schema" select="$schema"/> + <xsl:with-param name="edit" select="$edit"/> + </xsl:call-template> + </xsl:when> + + <!-- language tab --> + <xsl:when test="$currTab='language'"> + <xsl:apply-templates mode="elementEP" select="grg:operatingLanguage|geonet:child[string(@name)='operatingLanguage']"> + <xsl:with-param name="schema" select="$schema"/> + <xsl:with-param name="edit" select="$edit"/> + </xsl:apply-templates> + + <xsl:apply-templates mode="elementEP" select="grg:alternativeLanguages|geonet:child[string(@name)='alternativeLanguages']"> + <xsl:with-param name="schema" select="$schema"/> + <xsl:with-param name="edit" select="$edit"/> + </xsl:apply-templates> + </xsl:when> + + <!-- owner tab --> + <xsl:when test="$currTab='owner'"> + <xsl:apply-templates mode="elementEP" select="grg:owner|geonet:child[string(@name)='owner']"> + <xsl:with-param name="schema" select="$schema"/> + <xsl:with-param name="edit" select="$edit"/> + </xsl:apply-templates> + </xsl:when> + + <!-- submitter tab --> + <xsl:when test="$currTab='submitter'"> + <xsl:apply-templates mode="elementEP" select="grg:submitter|geonet:child[string(@name)='submitter']"> + <xsl:with-param name="schema" select="$schema"/> + <xsl:with-param name="edit" select="$edit"/> + </xsl:apply-templates> + </xsl:when> + + <!-- manager tab --> + <xsl:when test="$currTab='manager'"> + <xsl:apply-templates mode="elementEP" select="grg:manager|geonet:child[string(@name)='manager']"> + <xsl:with-param name="schema" select="$schema"/> + <xsl:with-param name="edit" select="$edit"/> + </xsl:apply-templates> + </xsl:when> + + <!-- register items tab --> + <xsl:when test="$currTab='registerItems'"> + <xsl:apply-templates mode="elementEP" select="grg:containedItemClass|geonet:child[string(@name)='containedItemClass']"> + <xsl:with-param name="schema" select="$schema"/> + <xsl:with-param name="edit" select="$edit"/> + </xsl:apply-templates> + + <xsl:apply-templates mode="elementEP" select="grg:containedItem|geonet:child[string(@name)='containedItem']"> + <xsl:with-param name="schema" select="$schema"/> + <xsl:with-param name="edit" select="$edit"/> + </xsl:apply-templates> + </xsl:when> + + <!-- default - display everything - usually just tab="complete" --> + <xsl:otherwise> + <xsl:apply-templates mode="elementEP" select="*"> + <xsl:with-param name="schema" select="$schema"/> + <xsl:with-param name="edit" select="$edit"/> + </xsl:apply-templates> + </xsl:otherwise> + </xsl:choose> + </xsl:template> + + <!-- =================================================================== --> + <!-- Process grg:contact like gmd:contactInfo --> + <!-- =================================================================== --> + + <xsl:template mode="iso19135" match="grg:contact"> + <xsl:param name="schema"/> + <xsl:param name="edit"/> + + <xsl:variable name="content"> + <xsl:for-each select="gmd:CI_ResponsibleParty"> + <tr> + <td class="padded-content" width="100%" colspan="2"> + <table width="100%"> + <tr> + <td width="50%" valign="top"> + <table width="100%"> + <xsl:apply-templates mode="elementEP" select="../@xlink:href"> + <xsl:with-param name="schema" select="'iso19139'"/> + <xsl:with-param name="edit" select="$edit"/> + </xsl:apply-templates> + + <xsl:apply-templates mode="elementEP" select="gmd:individualName|geonet:child[string(@name)='individualName']"> + <xsl:with-param name="schema" select="'iso19139'"/> + <xsl:with-param name="edit" select="$edit"/> + </xsl:apply-templates> + + <xsl:apply-templates mode="elementEP" select="gmd:organisationName|geonet:child[string(@name)='organisationName']"> + <xsl:with-param name="schema" select="'iso19139'"/> + <xsl:with-param name="edit" select="$edit"/> + </xsl:apply-templates> + + <xsl:apply-templates mode="elementEP" select="gmd:positionName|geonet:child[string(@name)='positionName']"> + <xsl:with-param name="schema" select="'iso19139'"/> + <xsl:with-param name="edit" select="$edit"/> + </xsl:apply-templates> + + <xsl:apply-templates mode="elementEP" select="gmd:role|geonet:child[string(@name)='role']"> + <xsl:with-param name="schema" select="'iso19139'"/> + <xsl:with-param name="edit" select="$edit"/> + </xsl:apply-templates> + + </table> + </td> + <td valign="top"> + <table width="100%"> + <xsl:apply-templates mode="elementEP" select="gmd:contactInfo|geonet:child[string(@name)='contactInfo']"> + <xsl:with-param name="schema" select="'iso19139'"/> + <xsl:with-param name="edit" select="$edit"/> + </xsl:apply-templates> + </table> + </td> + </tr> + </table> + </td> + </tr> + </xsl:for-each> + </xsl:variable> + + <xsl:apply-templates mode="complexElement" select="."> + <xsl:with-param name="schema" select="$schema"/> + <xsl:with-param name="edit" select="$edit"/> + <xsl:with-param name="content" select="$content"/> + </xsl:apply-templates> + </xsl:template> + + <!-- =================================================================== --> + <!-- These items should be boxed as they have children --> + <!-- =================================================================== --> + + <xsl:template mode="iso19135" match="grg:submitter|grg:manager|grg:owner|grg:containedItemClass|grg:containedItem|grg:version|grg:operatingLanguage|grg:alternativeLanguages|grg:successor|grg:predecessor|grg:fieldOfApplication|grg:technicalStandard|grg:additionInformation|grg:sponsor"> + <xsl:param name="schema"/> + <xsl:param name="edit"/> + + <xsl:apply-templates mode="complexElement" select="."> + <xsl:with-param name="schema" select="$schema"/> + <xsl:with-param name="edit" select="$edit"/> + <xsl:with-param name="content"> + + <xsl:apply-templates mode="elementEP" select="*"> + <xsl:with-param name="schema" select="$schema"/> + <xsl:with-param name="edit" select="$edit"/> + </xsl:apply-templates> + + </xsl:with-param> + </xsl:apply-templates> + </xsl:template> + + <!-- =================================================================== --> + <!-- some gco: elements and gmx:MimeFileType are swallowed --> + <!-- =================================================================== --> + + <xsl:template mode="iso19135" match="grg:*[gco:Date|gco:DateTime|gco:Integer|gco:Decimal|gco:Boolean|gco:Real|gco:Measure|gco:Length|gco:Distance|gco:Angle|gco:Scale|gco:RecordType|gmx:MimeFileType]"> + <xsl:param name="schema"/> + <xsl:param name="edit"/> + + <xsl:call-template name="iso19139String"> + <xsl:with-param name="schema" select="$schema"/> + <xsl:with-param name="edit" select="$edit"/> + </xsl:call-template> + </xsl:template> + + <!-- =================================================================== --> + <!-- Display Register tab - elements not included in other tabs --> + <!-- =================================================================== --> + + <xsl:template name="iso19135Register"> + <xsl:param name="schema"/> + <xsl:param name="edit"/> + + <!-- Register name --> + <xsl:apply-templates mode="elementEP" select="grg:name|geonet:child[string(@name)='name']"> + <xsl:with-param name="schema" select="$schema"/> + <xsl:with-param name="edit" select="$edit"/> + </xsl:apply-templates> + + <!-- Register content summary --> + <xsl:apply-templates mode="elementEP" select="grg:contentSummary|geonet:child[string(@name)='contentSummary']"> + <xsl:with-param name="schema" select="$schema"/> + <xsl:with-param name="edit" select="$edit"/> + </xsl:apply-templates> + + <!-- Register version --> + <xsl:apply-templates mode="elementEP" select="grg:version|geonet:child[string(@name)='version']"> + <xsl:with-param name="schema" select="$schema"/> + <xsl:with-param name="edit" select="$edit"/> + </xsl:apply-templates> + + <!-- Register dateOfLastChange --> + <xsl:apply-templates mode="elementEP" select="grg:dateOfLastChange|geonet:child[string(@name)='dateOfLastChange']"> + <xsl:with-param name="schema" select="$schema"/> + <xsl:with-param name="edit" select="$edit"/> + </xsl:apply-templates> + </xsl:template> + + <!-- =================================================================== --> + <!-- display all tabs for iso19135 --> + <!-- =================================================================== --> + + <xsl:template name="iso19135CompleteTab"> + <xsl:param name="tabLink"/> + + <xsl:if test="/root/gui/config/metadata-tab/advanced"> + <xsl:call-template name="displayTab"> <!-- non existent tab - by packages --> + <xsl:with-param name="tab" select="'packages'"/> + <xsl:with-param name="text" select="/root/gui/strings/byPackage"/> + <xsl:with-param name="tabLink" select="''"/> + </xsl:call-template> + + <xsl:call-template name="displayTab"> + <xsl:with-param name="tab" select="'register'"/> + <xsl:with-param name="text" select="/root/gui/schemas/iso19135/strings/registerTab"/> + <xsl:with-param name="indent" select="'   '"/> + <xsl:with-param name="tabLink" select="$tabLink"/> + </xsl:call-template> + + <xsl:call-template name="displayTab"> + <xsl:with-param name="tab" select="'language'"/> + <xsl:with-param name="text" select="/root/gui/schemas/iso19135/strings/languageTab"/> + <xsl:with-param name="indent" select="'   '"/> + <xsl:with-param name="tabLink" select="$tabLink"/> + </xsl:call-template> + + <xsl:call-template name="displayTab"> + <xsl:with-param name="tab" select="'owner'"/> + <xsl:with-param name="text" select="/root/gui/schemas/iso19135/strings/ownerTab"/> + <xsl:with-param name="indent" select="'   '"/> + <xsl:with-param name="tabLink" select="$tabLink"/> + <xsl:with-param name="highlighted" select="true()"/> + </xsl:call-template> + + <xsl:call-template name="displayTab"> + <xsl:with-param name="tab" select="'submitter'"/> + <xsl:with-param name="text" select="/root/gui/schemas/iso19135/strings/submitterTab"/> + <xsl:with-param name="indent" select="'   '"/> + <xsl:with-param name="tabLink" select="$tabLink"/> + <xsl:with-param name="highlighted" select="true()"/> + </xsl:call-template> + + <xsl:call-template name="displayTab"> + <xsl:with-param name="tab" select="'manager'"/> + <xsl:with-param name="text" select="/root/gui/schemas/iso19135/strings/managerTab"/> + <xsl:with-param name="indent" select="'   '"/> + <xsl:with-param name="tabLink" select="$tabLink"/> + </xsl:call-template> + + <xsl:call-template name="displayTab"> + <xsl:with-param name="tab" select="'registerItems'"/> + <xsl:with-param name="text" select="/root/gui/schemas/iso19135/strings/registerItemsTab"/> + <xsl:with-param name="indent" select="'   '"/> + <xsl:with-param name="tabLink" select="$tabLink"/> + </xsl:call-template> + + <xsl:call-template name="displayTab"> + <xsl:with-param name="tab" select="'All'"/> + <xsl:with-param name="text" select="/root/gui/schemas/iso19135/strings/allTab"/> + <xsl:with-param name="indent" select="'   '"/> + <xsl:with-param name="tabLink" select="$tabLink"/> + </xsl:call-template> + </xsl:if> + + </xsl:template> + + <!-- =================================================================== --> + <!-- === iso19135 brief formatting === --> + <!-- =================================================================== --> + + <xsl:template match="iso19135Brief"> + <xsl:for-each select="/metadata/*[1]"> + <metadata> + + <xsl:variable name="langId"> + <xsl:call-template name="getLangId"> + <xsl:with-param name="langGui" select="/root/gui/language"/> + <xsl:with-param name="md" select="."/> + </xsl:call-template> + </xsl:variable> + + <title> + <xsl:apply-templates mode="localised" select="grg:name"> + <xsl:with-param name="langId" select="$langId"></xsl:with-param> + </xsl:apply-templates> + </title> + + <abstract> + <xsl:apply-templates mode="localised" select="grg:contentSummary"> + <xsl:with-param name="langId" select="$langId"></xsl:with-param> + </xsl:apply-templates> + </abstract> + + <!-- Put valid register items out as dc:subject keywords --> + <xsl:for-each select="grg:containedItem[grg:RE_RegisterItem/grg:status/grg:RE_ItemStatus='valid']"> + <keyword> + <xsl:apply-templates mode="localised" select="grg:RE_RegisterItem/grg:name"> + <xsl:with-param name="langId" select="$langId"/> + </xsl:apply-templates> + </keyword> + </xsl:for-each> + + <xsl:for-each-group select="//grg:contact/*" group-by="gmd:organisationName/gco:CharacterString"> + <xsl:variable name="roles" select="string-join(current-group()/gmd:role/*/geonet:getCodeListValue(/root/gui/schemas, 'iso19139', 'gmd:CI_RoleCode', @codeListValue), ', ')"/> + <xsl:if test="normalize-space($roles)!=''"> + <responsibleParty role="{$roles}" appliesTo="resource"> + <xsl:if test="descendant::*/gmx:FileName"> + <xsl:attribute name="logo"><xsl:value-of select="descendant::*/gmx:FileName/@src"/></xsl:attribute> + </xsl:if> + <xsl:apply-templates mode="responsiblepartysimple" select="."/> + </responsibleParty> + </xsl:if> + </xsl:for-each-group> + + <xsl:for-each select="grg:uniformResourceIdentifier/gmd:CI_OnlineResource"> + <xsl:variable name="protocol" select="gmd:protocol[1]/gco:CharacterString"/> + <xsl:variable name="linkage" select="normalize-space(gmd:linkage/gmd:URL)"/> + <xsl:variable name="name"> + <xsl:for-each select="gmd:name"> + <xsl:call-template name="localised"> + <xsl:with-param name="langId" select="$langId"/> + </xsl:call-template> + </xsl:for-each> + </xsl:variable> + + <xsl:variable name="mimeType" select="normalize-space(gmd:name/gmx:MimeFileType/@type)"/> + + <xsl:variable name="desc"> + <xsl:for-each select="gmd:description"> + <xsl:call-template name="localised"> + <xsl:with-param name="langId" select="$langId"/> + </xsl:call-template> + </xsl:for-each> + </xsl:variable> + + <xsl:if test="string($linkage)!=''"> + + <xsl:element name="link"> + <xsl:attribute name="title"><xsl:value-of select="$desc"/></xsl:attribute> + <xsl:attribute name="href"><xsl:value-of select="$linkage"/></xsl:attribute> + <xsl:attribute name="name"><xsl:value-of select="$name"/></xsl:attribute> + <xsl:attribute name="protocol"><xsl:value-of select="$protocol"/></xsl:attribute> + <xsl:attribute name="type" select="geonet:protocolMimeType($linkage, $protocol, $mimeType)"/> + </xsl:element> + + </xsl:if> + </xsl:for-each> + + <geonet:info> + <xsl:copy-of select="geonet:info/*[name(.)!='edit']"/> + <xsl:choose> + <xsl:when test="/root/gui/env/harvester/enableEditing='false' and geonet:info/isHarvested='y'"> + <edit>false</edit> + </xsl:when> + <xsl:otherwise> + <xsl:copy-of select="geonet:info/edit"/> + </xsl:otherwise> + </xsl:choose> + </geonet:info> + </metadata> + </xsl:for-each> + </xsl:template> + + <!-- =================================================================== --> + <!-- default: in simple mode just a flat list --> + <!-- =================================================================== --> + + <xsl:template mode="iso19135" match="*|@*"> + <xsl:param name="schema"/> + <xsl:param name="edit"/> + + <!-- do not show empty elements in view mode --> + <xsl:choose> + <xsl:when test="$edit=true()"> + <xsl:apply-templates mode="element" select="."> + <xsl:with-param name="schema" select="$schema"/> + <xsl:with-param name="edit" select="true()"/> + <xsl:with-param name="flat" select="/root/gui/config/metadata-tab/*[name(.)=$currTab]/@flat"/> + </xsl:apply-templates> + </xsl:when> + + <xsl:otherwise> + <xsl:variable name="empty"> + <xsl:apply-templates mode="iso19135IsEmpty" select="."/> + </xsl:variable> + + <xsl:if test="$empty!=''"> + <xsl:apply-templates mode="element" select="."> + <xsl:with-param name="schema" select="$schema"/> + <xsl:with-param name="edit" select="false()"/> + <xsl:with-param name="flat" select="/root/gui/config/metadata-tab/*[name(.)=$currTab]/@flat"/> + </xsl:apply-templates> + </xsl:if> + + </xsl:otherwise> + </xsl:choose> + </xsl:template> + + <!-- + ===================================================================== + * All elements having gco:CharacterString or gmd:PT_FreeText elements + have to display multilingual editor widget. Even if default language + is set, an element could have gmd:PT_FreeText and no gco:CharacterString + (ie. no value for default metadata language) . + --> + <xsl:template mode="iso19135" match="grg:*[gco:CharacterString or gmd:PT_FreeText]"> + <xsl:param name="schema" /> + <xsl:param name="edit" /> + + <!-- Define a rows variable if form element as + to be a textarea instead of a simple text input. + This parameter define the number of rows of the textarea. --> + <xsl:variable name="rows"> + <xsl:choose> + <xsl:when test="name(.)='grg:contentSummary' + or name(.)='grg:controlBodyDecisionEvent' + or name(.)='grg:controlBodyNotes' + or name(.)='grg:registerManagerNotes'">10</xsl:when> + <xsl:when test="name(.)='grg:description' + or name(.)='grg:definition'">5</xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + + <xsl:call-template name="localizedCharStringField"> + <xsl:with-param name="schema" select="$schema" /> + <xsl:with-param name="edit" select="$edit" /> + <xsl:with-param name="rows" select="$rows" /> + </xsl:call-template> + </xsl:template> + + <!-- ================================================================= --> + <!-- codelists --> + <!-- ================================================================= --> + + <xsl:template mode="iso19135" match="grg:*[*/@codeList]"> + <xsl:param name="schema"/> + <xsl:param name="edit"/> + + <xsl:call-template name="iso19139Codelist"> + <xsl:with-param name="schema" select="$schema"/> + <xsl:with-param name="edit" select="$edit"/> + </xsl:call-template> + </xsl:template> + + <!-- =================================================================== --> + <!-- Utilities --> + <!-- =================================================================== --> + + <xsl:template mode="iso19135IsEmpty" match="*|@*|text()"> + <xsl:choose> + <!-- normal element --> + <xsl:when test="*"> + <xsl:apply-templates mode="iso19135IsEmpty"/> + </xsl:when> + <!-- text element --> + <xsl:when test="text()!=''">txt</xsl:when> + <!-- empty element --> + <xsl:otherwise> + <!-- attributes? --> + <xsl:for-each select="@*"> + <xsl:if test="string-length(.)!=0">att</xsl:if> + </xsl:for-each> + </xsl:otherwise> + </xsl:choose> + </xsl:template> + + <!-- =================================================================== --> + <!-- === Javascript used by functions in this presentation XSLT --> + <!-- =================================================================== --> + <xsl:template name="iso19135-javascript"/> + +</xsl:stylesheet> Added: schemaPlugins/trunk/iso19135/present/metadata-iso19135-view.xsl =================================================================== --- schemaPlugins/trunk/iso19135/present/metadata-iso19135-view.xsl (rev 0) +++ schemaPlugins/trunk/iso19135/present/metadata-iso19135-view.xsl 2011-11-04 09:31:43 UTC (rev 8421) @@ -0,0 +1,62 @@ +<?xml version="1.0" encoding="UTF-8"?> +<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns:gmd="http://www.isotc211.org/2005/gmd" xmlns:gts="http://www.isotc211.org/2005/gts" + xmlns:gco="http://www.isotc211.org/2005/gco" xmlns:gmx="http://www.isotc211.org/2005/gmx" + xmlns:srv="http://www.isotc211.org/2005/srv" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xmlns:gml="http://www.opengis.net/gml" xmlns:xlink="http://www.w3.org/1999/xlink" + xmlns:geonet="http://www.fao.org/geonetwork" xmlns:exslt="http://exslt.org/common" + xmlns:grg="http://www.isotc211.org/2005/grg" + xmlns:saxon="http://saxon.sf.net/" extension-element-prefixes="saxon" + exclude-result-prefixes="gmx xsi gmd grg gco gml gts srv xlink exslt geonet"> + + <!-- View templates are available only in view mode and do not provide + editing capabilities. Template MUST start with "view". --> + <!-- ===================================================================== --> + <!-- iso19135-simple --> + <xsl:template name="metadata-iso19135view-simple" match="metadata-iso19135view-simple"> + + <xsl:call-template name="md-content"> + <xsl:with-param name="title"> + <xsl:apply-templates mode="localised" select="grg:name"> + <xsl:with-param name="langId" select="$langId"/> + </xsl:apply-templates> + </xsl:with-param> + <xsl:with-param name="exportButton"/> + <xsl:with-param name="abstract"> + <xsl:apply-templates mode="localised" select="grg:contentSummary"> + <xsl:with-param name="langId" select="$langId"/> + </xsl:apply-templates> + </xsl:with-param> + <xsl:with-param name="relatedResources"> + <xsl:apply-templates mode="relatedResources" select="grg:uniformResourceIdentifier" + /> + </xsl:with-param> + <xsl:with-param name="tabs"> + <xsl:call-template name="complexElementSimpleGui"> + <xsl:with-param name="title" + select="/root/gui/schemas/iso19139/strings/understandResource"/> + <xsl:with-param name="content"> + <xsl:apply-templates mode="block" + select=" + grg:containedItem[grg:RE_RegisterItem/grg:status/grg:RE_ItemStatus='valid'] + "> </xsl:apply-templates> + </xsl:with-param> + </xsl:call-template> + + + <xsl:call-template name="complexElementSimpleGui"> + <xsl:with-param name="title" select="/root/gui/schemas/iso19139/strings/contactInfo"/> + <xsl:with-param name="content"> + <xsl:apply-templates mode="block" select="//grg:contact"/> + </xsl:with-param> + </xsl:call-template> + + <span class="madeBy"> + <xsl:value-of select="/root/gui/strings/changeDate"/><xsl:value-of select="grg:version/grg:RE_Version/grg:versionDate/gco:Date|grg:dateOfLastChange/gco:Date"/> + </span> + + </xsl:with-param> + </xsl:call-template> + </xsl:template> + +</xsl:stylesheet> Modified: schemaPlugins/trunk/iso19139.anzlic/present/metadata-iso19139.anzlic-edit.xsl =================================================================== --- schemaPlugins/trunk/iso19139.anzlic/present/metadata-iso19139.anzlic-edit.xsl 2011-11-04 08:54:17 UTC (rev 8420) +++ schemaPlugins/trunk/iso19139.anzlic/present/metadata-iso19139.anzlic-edit.xsl 2011-11-04 09:31:43 UTC (rev 8421) @@ -454,30 +454,6 @@ <xsl:variable name="dataset" select="gmd:hierarchyLevel/gmd:MD_ScopeCode/@codeListValue='dataset' or gmd:hierarchyLevel/gmd:MD_ScopeCode/@codeListValue='dataObject' or normalize-space(gmd:hierarchyLevel/gmd:MD_ScopeCode/@codeListValue)=''"/> - <!-- thumbnail --> - <tr> - <td valign="middle" colspan="2"> - <xsl:if test="$currTab='metadata' or $currTab='identification' or /root/gui/config/metadata-tab/*[name(.)=$currTab]/@flat"> - <div style="float:left;width:70%;text-align:center;"> - <xsl:variable name="md"> - <xsl:apply-templates mode="brief" select="."/> - </xsl:variable> - <xsl:variable name="metadata" select="exslt:node-set($md)/*[1]"/> - <xsl:call-template name="thumbnail"> - <xsl:with-param name="metadata" select="$metadata"/> - </xsl:call-template> - </div> - </xsl:if> - <xsl:if test="/root/gui/config/editor-metadata-relation"> - <div style="float:right;"> - <xsl:call-template name="relatedResources"> - <xsl:with-param name="edit" select="$edit"/> - </xsl:call-template> - </div> - </xsl:if> - </td> - </tr> - <xsl:choose> <!-- simple tab --> Modified: schemaPlugins/trunk/iso19139.mcp/present/metadata-iso19139.mcp-edit.xsl =================================================================== --- schemaPlugins/trunk/iso19139.mcp/present/metadata-iso19139.mcp-edit.xsl 2011-11-04 08:54:17 UTC (rev 8420) +++ schemaPlugins/trunk/iso19139.mcp/present/metadata-iso19139.mcp-edit.xsl 2011-11-04 09:31:43 UTC (rev 8421) @@ -1239,32 +1239,7 @@ <xsl:param name="embedded" select="false()"/> <xsl:variable name="dataset" select="gmd:hierarchyLevel/gmd:MD_ScopeCode/@codeListValue='dataset' or gmd:hierarchyLevel/gmd:MD_ScopeCode/@codeListValue='dataObject' or normalize-space(gmd:hierarchyLevel/gmd:MD_ScopeCode/@codeListValue)=''"/> - - <!-- thumbnail --> - <tr> - <td valign="middle" colspan="2"> - <xsl:if test="$currTab='metadata' or $currTab='identification' or /root/gui/config/metadata-tab/*[name(.)=$currTab]/@flat"> - <div style="float:left;width:70%;text-align:center;"> - <xsl:variable name="md"> - <xsl:apply-templates mode="brief" select="."/> - </xsl:variable> - <xsl:variable name="metadata" select="exslt:node-set($md)/*[1]"/> - <xsl:call-template name="thumbnail"> - <xsl:with-param name="metadata" select="$metadata"/> - </xsl:call-template> - </div> - </xsl:if> - <xsl:if test="/root/gui/config/editor-metadata-relation"> - <div style="float:right;"> - <xsl:call-template name="relatedResources"> - <xsl:with-param name="edit" select="$edit"/> - </xsl:call-template> - </div> - </xsl:if> - </td> - </tr> - <xsl:choose> <!-- simple tab --> <xsl:when test="$currTab='simple'"> Modified: schemaPlugins/trunk/iso19139.mcp/present/metadata-iso19139.mcp.xsl =================================================================== --- schemaPlugins/trunk/iso19139.mcp/present/metadata-iso19139.mcp.xsl 2011-11-04 08:54:17 UTC (rev 8420) +++ schemaPlugins/trunk/iso19139.mcp/present/metadata-iso19139.mcp.xsl 2011-11-04 09:31:43 UTC (rev 8421) @@ -1818,7 +1818,6 @@ <!-- Javascript used by functions in this XSLT --> <xsl:template name="iso19139.mcp-javascript"> - <xsl:message>Adding iso19139.mcp-javascript</xsl:message> <script type="text/javascript"> <![CDATA[ /** This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <sp...@us...> - 2011-11-04 11:09:18
|
Revision: 8422 http://geonetwork.svn.sourceforge.net/geonetwork/?rev=8422&view=rev Author: sppigot Date: 2011-11-04 11:09:11 +0000 (Fri, 04 Nov 2011) Log Message: ----------- Switch from old tabs to new tab calls in experimental interface Modified Paths: -------------- schemaPlugins/trunk/eml-gbif/present/metadata-eml-gbif-edit.xsl schemaPlugins/trunk/iso19135/present/metadata-iso19135-edit.xsl schemaPlugins/trunk/iso19139.anzlic/present/metadata-iso19139.anzlic-edit.xsl schemaPlugins/trunk/iso19139.mcp/present/metadata-iso19139.mcp-edit.xsl schemaPlugins/trunk/iso19139.mcp-1.4/present/metadata-iso19139.mcp-1.4-edit.xsl Modified: schemaPlugins/trunk/eml-gbif/present/metadata-eml-gbif-edit.xsl =================================================================== --- schemaPlugins/trunk/eml-gbif/present/metadata-eml-gbif-edit.xsl 2011-11-04 09:31:43 UTC (rev 8421) +++ schemaPlugins/trunk/eml-gbif/present/metadata-eml-gbif-edit.xsl 2011-11-04 11:09:11 UTC (rev 8422) @@ -24,24 +24,11 @@ </xsl:apply-templates> </xsl:template> - <!-- CompleteTab template - eml-gbif just calls completeTab from - metadata-utils.xsl --> + <!-- CompleteTab template - eml-gbif does default tabs here only + at the moment --> <xsl:template name="eml-gbifCompleteTab"> <xsl:param name="tabLink"/> - <xsl:call-template name="displayTab"> - <xsl:with-param name="tab" select="'dataset'"/> - <xsl:with-param name="text" select="'Dataset'"/> - <xsl:with-param name="indent" select="'   '"/> - <xsl:with-param name="tabLink" select="$tabLink"/> - </xsl:call-template> - - <xsl:call-template name="displayTab"> - <xsl:with-param name="tab" select="'additional'"/> - <xsl:with-param name="text" select="'Additional'"/> - <xsl:with-param name="indent" select="'   '"/> - <xsl:with-param name="tabLink" select="$tabLink"/> - </xsl:call-template> </xsl:template> <!-- default template --> Modified: schemaPlugins/trunk/iso19135/present/metadata-iso19135-edit.xsl =================================================================== --- schemaPlugins/trunk/iso19135/present/metadata-iso19135-edit.xsl 2011-11-04 09:31:43 UTC (rev 8421) +++ schemaPlugins/trunk/iso19135/present/metadata-iso19135-edit.xsl 2011-11-04 11:09:11 UTC (rev 8422) @@ -273,64 +273,19 @@ <xsl:param name="tabLink"/> <xsl:if test="/root/gui/config/metadata-tab/advanced"> - <xsl:call-template name="displayTab"> <!-- non existent tab - by packages --> - <xsl:with-param name="tab" select="'packages'"/> - <xsl:with-param name="text" select="/root/gui/strings/byPackage"/> - <xsl:with-param name="tabLink" select="''"/> - </xsl:call-template> - - <xsl:call-template name="displayTab"> - <xsl:with-param name="tab" select="'register'"/> - <xsl:with-param name="text" select="/root/gui/schemas/iso19135/strings/registerTab"/> - <xsl:with-param name="indent" select="'   '"/> - <xsl:with-param name="tabLink" select="$tabLink"/> - </xsl:call-template> - - <xsl:call-template name="displayTab"> - <xsl:with-param name="tab" select="'language'"/> - <xsl:with-param name="text" select="/root/gui/schemas/iso19135/strings/languageTab"/> - <xsl:with-param name="indent" select="'   '"/> - <xsl:with-param name="tabLink" select="$tabLink"/> - </xsl:call-template> - - <xsl:call-template name="displayTab"> - <xsl:with-param name="tab" select="'owner'"/> - <xsl:with-param name="text" select="/root/gui/schemas/iso19135/strings/ownerTab"/> - <xsl:with-param name="indent" select="'   '"/> - <xsl:with-param name="tabLink" select="$tabLink"/> - <xsl:with-param name="highlighted" select="true()"/> - </xsl:call-template> - - <xsl:call-template name="displayTab"> - <xsl:with-param name="tab" select="'submitter'"/> - <xsl:with-param name="text" select="/root/gui/schemas/iso19135/strings/submitterTab"/> - <xsl:with-param name="indent" select="'   '"/> - <xsl:with-param name="tabLink" select="$tabLink"/> - <xsl:with-param name="highlighted" select="true()"/> - </xsl:call-template> - - <xsl:call-template name="displayTab"> - <xsl:with-param name="tab" select="'manager'"/> - <xsl:with-param name="text" select="/root/gui/schemas/iso19135/strings/managerTab"/> - <xsl:with-param name="indent" select="'   '"/> - <xsl:with-param name="tabLink" select="$tabLink"/> - </xsl:call-template> - - <xsl:call-template name="displayTab"> - <xsl:with-param name="tab" select="'registerItems'"/> - <xsl:with-param name="text" select="/root/gui/schemas/iso19135/strings/registerItemsTab"/> - <xsl:with-param name="indent" select="'   '"/> - <xsl:with-param name="tabLink" select="$tabLink"/> - </xsl:call-template> - - <xsl:call-template name="displayTab"> - <xsl:with-param name="tab" select="'All'"/> - <xsl:with-param name="text" select="/root/gui/schemas/iso19135/strings/allTab"/> - <xsl:with-param name="indent" select="'   '"/> - <xsl:with-param name="tabLink" select="$tabLink"/> - </xsl:call-template> - </xsl:if> - + <xsl:call-template name="mainTab"> + <xsl:with-param name="title" select="/root/gui/strings/byPackage"/> + <xsl:with-param name="default">register</xsl:with-param> + <xsl:with-param name="menu"> + <item label="register">register</item> + <item label="language">language</item> + <item label="owner">owner</item> + <item label="submitter">submitter</item> + <item label="manager">manager</item> + <item label="registerItems">registerItems</item> + </xsl:with-param> + </xsl:call-template> + </xsl:if> </xsl:template> <!-- =================================================================== --> Modified: schemaPlugins/trunk/iso19139.anzlic/present/metadata-iso19139.anzlic-edit.xsl =================================================================== --- schemaPlugins/trunk/iso19139.anzlic/present/metadata-iso19139.anzlic-edit.xsl 2011-11-04 09:31:43 UTC (rev 8421) +++ schemaPlugins/trunk/iso19139.anzlic/present/metadata-iso19139.anzlic-edit.xsl 2011-11-04 11:09:11 UTC (rev 8422) @@ -892,143 +892,41 @@ <xsl:template name="iso19139.anzlicCompleteTab"> <xsl:param name="tabLink"/> - <xsl:if test="/root/gui/config/metadata-tab/iso"> - <xsl:call-template name="displayTab"> <!-- non existent tab - by profile --> - <xsl:with-param name="tab" select="'groups'"/> - <xsl:with-param name="text" select="/root/gui/strings/byGroup"/> - <xsl:with-param name="tabLink" select="''"/> - </xsl:call-template> - - <xsl:call-template name="displayTab"> - <xsl:with-param name="tab" select="'anzlicMinimum'"/> - <xsl:with-param name="text" select="'ANZLIC Minimum'"/> - <xsl:with-param name="indent" select="'   '"/> - <xsl:with-param name="tabLink" select="$tabLink"/> - </xsl:call-template> + <xsl:if test="/root/gui/env/metadata/enableIsoView = 'true'"> + <xsl:call-template name="mainTab"> + <xsl:with-param name="title" select="/root/gui/strings/byGroup"/> + <xsl:with-param name="default">anzlicCore</xsl:with-param> + <xsl:with-param name="menu"> + <item label="anzlicMinimum">anzlicMinimum</item> + <item label="anzlicCore">anzlicCore</item> + <item label="anzlicAll">anzlicAll</item> + </xsl:with-param> + </xsl:call-template> + </xsl:if> - <xsl:call-template name="displayTab"> - <xsl:with-param name="tab" select="'anzlicCore'"/> - <xsl:with-param name="text" select="'ANZLIC Core'"/> - <xsl:with-param name="indent" select="'   '"/> - <xsl:with-param name="tabLink" select="$tabLink"/> - </xsl:call-template> - <xsl:call-template name="displayTab"> - <xsl:with-param name="tab" select="'complete'"/> - <xsl:with-param name="text" select="'ANZLIC All'"/> - <xsl:with-param name="indent" select="'   '"/> - <xsl:with-param name="tabLink" select="$tabLink"/> - </xsl:call-template> - </xsl:if> - <xsl:if test="/root/gui/config/metadata-tab/advanced"> - <xsl:call-template name="displayTab"> <!-- non existent tab - by groups --> - <xsl:with-param name="tab" select="'packages'"/> - <xsl:with-param name="text" select="/root/gui/strings/byPackage"/> - <xsl:with-param name="tabLink" select="''"/> - </xsl:call-template> - - <xsl:call-template name="displayTab"> - <xsl:with-param name="tab" select="'metadata'"/> - <xsl:with-param name="text" select="/root/gui/strings/metadata"/> - <xsl:with-param name="indent" select="'   '"/> - <xsl:with-param name="tabLink" select="$tabLink"/> - </xsl:call-template> - - <xsl:call-template name="displayTab"> - <xsl:with-param name="tab" select="'identification'"/> - <xsl:with-param name="text" select="/root/gui/strings/identificationTab"/> - <xsl:with-param name="indent" select="'   '"/> - <xsl:with-param name="tabLink" select="$tabLink"/> - </xsl:call-template> + <xsl:if test="/root/gui/config/metadata-tab/advanced"> + <xsl:call-template name="mainTab"> + <xsl:with-param name="title" select="/root/gui/strings/byPackage"/> + <xsl:with-param name="default">identification</xsl:with-param> + <xsl:with-param name="menu"> + <item label="metadata">metadata</item> + <item label="identificationTab">identification</item> + <item label="maintenanceTab">maintenance</item> + <item label="constraintsTab">constraints</item> + <item label="spatialTab">spatial</item> + <item label="refSysTab">refSys</item> + <item label="distributionTab">distribution</item> + <item label="dataQualityTab">dataQuality</item> + <item label="appSchInfoTab">appSchInfo</item> + <item label="porCatInfoTab">porCatInfo</item> + <item label="contentInfoTab">contentInfo</item> + <item label="extensionInfoTab">extensionInfo</item> + </xsl:with-param> + </xsl:call-template> + </xsl:if> - <xsl:call-template name="displayTab"> - <xsl:with-param name="tab" select="'temporalExtent'"/> - <xsl:with-param name="text" select="/root/gui/schemas/iso19139.anzlic/strings/temporalExtentTab"/> - <xsl:with-param name="indent" select="'   '"/> - <xsl:with-param name="tabLink" select="$tabLink"/> - <xsl:with-param name="highlighted" select="true()"/> - </xsl:call-template> - - <xsl:call-template name="displayTab"> - <xsl:with-param name="tab" select="'spatialExtent'"/> - <xsl:with-param name="text" select="/root/gui/schemas/iso19139.anzlic/strings/spatialExtentTab"/> - <xsl:with-param name="indent" select="'   '"/> - <xsl:with-param name="tabLink" select="$tabLink"/> - <xsl:with-param name="highlighted" select="true()"/> - </xsl:call-template> - - <xsl:call-template name="displayTab"> - <xsl:with-param name="tab" select="'maintenance'"/> - <xsl:with-param name="text" select="/root/gui/strings/maintenanceTab"/> - <xsl:with-param name="indent" select="'   '"/> - <xsl:with-param name="tabLink" select="$tabLink"/> - </xsl:call-template> - - <xsl:call-template name="displayTab"> - <xsl:with-param name="tab" select="'constraints'"/> - <xsl:with-param name="text" select="/root/gui/strings/constraintsTab"/> - <xsl:with-param name="indent" select="'   '"/> - <xsl:with-param name="tabLink" select="$tabLink"/> - </xsl:call-template> - - <xsl:call-template name="displayTab"> - <xsl:with-param name="tab" select="'spatial'"/> - <xsl:with-param name="text" select="/root/gui/strings/spatialTab"/> - <xsl:with-param name="indent" select="'   '"/> - <xsl:with-param name="tabLink" select="$tabLink"/> - </xsl:call-template> - - <xsl:call-template name="displayTab"> - <xsl:with-param name="tab" select="'refSys'"/> - <xsl:with-param name="text" select="/root/gui/strings/refSysTab"/> - <xsl:with-param name="indent" select="'   '"/> - <xsl:with-param name="tabLink" select="$tabLink"/> - </xsl:call-template> - - <xsl:call-template name="displayTab"> - <xsl:with-param name="tab" select="'distribution'"/> - <xsl:with-param name="text" select="/root/gui/strings/distributionTab"/> - <xsl:with-param name="indent" select="'   '"/> - <xsl:with-param name="tabLink" select="$tabLink"/> - </xsl:call-template> - - <xsl:call-template name="displayTab"> - <xsl:with-param name="tab" select="'dataQuality'"/> - <xsl:with-param name="text" select="/root/gui/strings/dataQualityTab"/> - <xsl:with-param name="indent" select="'   '"/> - <xsl:with-param name="tabLink" select="$tabLink"/> - </xsl:call-template> - - <xsl:call-template name="displayTab"> - <xsl:with-param name="tab" select="'appSchInfo'"/> - <xsl:with-param name="text" select="/root/gui/strings/appSchInfoTab"/> - <xsl:with-param name="indent" select="'   '"/> - <xsl:with-param name="tabLink" select="$tabLink"/> - </xsl:call-template> - - <xsl:call-template name="displayTab"> - <xsl:with-param name="tab" select="'porCatInfo'"/> - <xsl:with-param name="text" select="/root/gui/strings/porCatInfoTab"/> - <xsl:with-param name="indent" select="'   '"/> - <xsl:with-param name="tabLink" select="$tabLink"/> - </xsl:call-template> - - <xsl:call-template name="displayTab"> - <xsl:with-param name="tab" select="'contentInfo'"/> - <xsl:with-param name="text" select="/root/gui/strings/contentInfoTab"/> - <xsl:with-param name="indent" select="'   '"/> - <xsl:with-param name="tabLink" select="$tabLink"/> - </xsl:call-template> - - <xsl:call-template name="displayTab"> - <xsl:with-param name="tab" select="'extensionInfo'"/> - <xsl:with-param name="text" select="/root/gui/strings/extensionInfoTab"/> - <xsl:with-param name="indent" select="'   '"/> - <xsl:with-param name="tabLink" select="$tabLink"/> - </xsl:call-template> - </xsl:if> - </xsl:template> <!-- ===================================================================== --> Modified: schemaPlugins/trunk/iso19139.mcp/present/metadata-iso19139.mcp-edit.xsl =================================================================== --- schemaPlugins/trunk/iso19139.mcp/present/metadata-iso19139.mcp-edit.xsl 2011-11-04 09:31:43 UTC (rev 8421) +++ schemaPlugins/trunk/iso19139.mcp/present/metadata-iso19139.mcp-edit.xsl 2011-11-04 11:09:11 UTC (rev 8422) @@ -62,139 +62,42 @@ <xsl:template name="iso19139.mcpCompleteTab"> <xsl:param name="tabLink"/> - <xsl:call-template name="displayTab"> <!-- non existent tab - by profile --> - <xsl:with-param name="tab" select="''"/> - <xsl:with-param name="text" select="/root/gui/strings/byGroup"/> - <xsl:with-param name="tabLink" select="''"/> - </xsl:call-template> - - <xsl:call-template name="displayTab"> - <xsl:with-param name="tab" select="'mcpMinimum'"/> - <xsl:with-param name="text" select="'MCP Minimum'"/> - <xsl:with-param name="indent" select="'   '"/> - <xsl:with-param name="tabLink" select="$tabLink"/> - </xsl:call-template> + <xsl:if test="/root/gui/env/metadata/enableIsoView = 'true'"> + <xsl:call-template name="mainTab"> + <xsl:with-param name="title" select="/root/gui/strings/byGroup"/> + <xsl:with-param name="default">mcpCore</xsl:with-param> + <xsl:with-param name="menu"> + <item label="mcpMinimum">mcpMinimum</item> + <item label="mcpCore">mcpCore</item> + <item label="mcpAll">mcpAll</item> + </xsl:with-param> + </xsl:call-template> + </xsl:if> - <xsl:call-template name="displayTab"> - <xsl:with-param name="tab" select="'mcpCore'"/> - <xsl:with-param name="text" select="'MCP Core'"/> - <xsl:with-param name="indent" select="'   '"/> - <xsl:with-param name="tabLink" select="$tabLink"/> - </xsl:call-template> - <xsl:call-template name="displayTab"> - <xsl:with-param name="tab" select="'complete'"/> - <xsl:with-param name="text" select="'MCP All'"/> - <xsl:with-param name="indent" select="'   '"/> - <xsl:with-param name="tabLink" select="$tabLink"/> - </xsl:call-template> - - <xsl:call-template name="displayTab"> <!-- non existent tab - by groups --> - <xsl:with-param name="tab" select="''"/> - <xsl:with-param name="text" select="/root/gui/strings/byPackage"/> - <xsl:with-param name="tabLink" select="''"/> - </xsl:call-template> - - <xsl:call-template name="displayTab"> - <xsl:with-param name="tab" select="'metadata'"/> - <xsl:with-param name="text" select="/root/gui/strings/metadata"/> - <xsl:with-param name="indent" select="'   '"/> - <xsl:with-param name="tabLink" select="$tabLink"/> - </xsl:call-template> - - <xsl:call-template name="displayTab"> - <xsl:with-param name="tab" select="'identification'"/> - <xsl:with-param name="text" select="/root/gui/strings/identificationTab"/> - <xsl:with-param name="indent" select="'   '"/> - <xsl:with-param name="tabLink" select="$tabLink"/> - </xsl:call-template> - <xsl:call-template name="displayTab"> - <xsl:with-param name="tab" select="'temporalExtent'"/> - <xsl:with-param name="text" select="/root/gui/schemas/iso19139.mcp/strings/temporalExtentTab"/> - <xsl:with-param name="indent" select="'   '"/> - <xsl:with-param name="tabLink" select="$tabLink"/> - <xsl:with-param name="highlighted" select="true()"/> - </xsl:call-template> - - <xsl:call-template name="displayTab"> - <xsl:with-param name="tab" select="'spatialExtent'"/> - <xsl:with-param name="text" select="/root/gui/schemas/iso19139.mcp/strings/spatialExtentTab"/> - <xsl:with-param name="indent" select="'   '"/> - <xsl:with-param name="tabLink" select="$tabLink"/> - <xsl:with-param name="highlighted" select="true()"/> - </xsl:call-template> - - <xsl:call-template name="displayTab"> - <xsl:with-param name="tab" select="'maintenance'"/> - <xsl:with-param name="text" select="/root/gui/strings/maintenanceTab"/> - <xsl:with-param name="indent" select="'   '"/> - <xsl:with-param name="tabLink" select="$tabLink"/> - </xsl:call-template> - - <xsl:call-template name="displayTab"> - <xsl:with-param name="tab" select="'constraints'"/> - <xsl:with-param name="text" select="/root/gui/strings/constraintsTab"/> - <xsl:with-param name="indent" select="'   '"/> - <xsl:with-param name="tabLink" select="$tabLink"/> - </xsl:call-template> - - <xsl:call-template name="displayTab"> - <xsl:with-param name="tab" select="'spatial'"/> - <xsl:with-param name="text" select="/root/gui/strings/spatialTab"/> - <xsl:with-param name="indent" select="'   '"/> - <xsl:with-param name="tabLink" select="$tabLink"/> - </xsl:call-template> - - <xsl:call-template name="displayTab"> - <xsl:with-param name="tab" select="'refSys'"/> - <xsl:with-param name="text" select="/root/gui/strings/refSysTab"/> - <xsl:with-param name="indent" select="'   '"/> - <xsl:with-param name="tabLink" select="$tabLink"/> - </xsl:call-template> - - <xsl:call-template name="displayTab"> - <xsl:with-param name="tab" select="'distribution'"/> - <xsl:with-param name="text" select="/root/gui/strings/distributionTab"/> - <xsl:with-param name="indent" select="'   '"/> - <xsl:with-param name="tabLink" select="$tabLink"/> - </xsl:call-template> - - <xsl:call-template name="displayTab"> - <xsl:with-param name="tab" select="'dataQuality'"/> - <xsl:with-param name="text" select="/root/gui/strings/dataQualityTab"/> - <xsl:with-param name="indent" select="'   '"/> - <xsl:with-param name="tabLink" select="$tabLink"/> - </xsl:call-template> - - <xsl:call-template name="displayTab"> - <xsl:with-param name="tab" select="'appSchInfo'"/> - <xsl:with-param name="text" select="/root/gui/strings/appSchInfoTab"/> - <xsl:with-param name="indent" select="'   '"/> - <xsl:with-param name="tabLink" select="$tabLink"/> - </xsl:call-template> - - <xsl:call-template name="displayTab"> - <xsl:with-param name="tab" select="'porCatInfo'"/> - <xsl:with-param name="text" select="/root/gui/strings/porCatInfoTab"/> - <xsl:with-param name="indent" select="'   '"/> - <xsl:with-param name="tabLink" select="$tabLink"/> - </xsl:call-template> - - <xsl:call-template name="displayTab"> - <xsl:with-param name="tab" select="'contentInfo'"/> - <xsl:with-param name="text" select="/root/gui/strings/contentInfoTab"/> - <xsl:with-param name="indent" select="'   '"/> - <xsl:with-param name="tabLink" select="$tabLink"/> - </xsl:call-template> - - <xsl:call-template name="displayTab"> - <xsl:with-param name="tab" select="'extensionInfo'"/> - <xsl:with-param name="text" select="/root/gui/strings/extensionInfoTab"/> - <xsl:with-param name="indent" select="'   '"/> - <xsl:with-param name="tabLink" select="$tabLink"/> - </xsl:call-template> - + <xsl:if test="/root/gui/config/metadata-tab/advanced"> + <xsl:call-template name="mainTab"> + <xsl:with-param name="title" select="/root/gui/strings/byPackage"/> + <xsl:with-param name="default">identification</xsl:with-param> + <xsl:with-param name="menu"> + <item label="metadata">metadata</item> + <item label="identificationTab">identification</item> + <item label="temporalExtentTab">temporalExtent</item> + <item label="spatialExtentTab">spatialExtent</item> + <item label="maintenanceTab">maintenance</item> + <item label="constraintsTab">constraints</item> + <item label="spatialTab">spatial</item> + <item label="refSysTab">refSys</item> + <item label="distributionTab">distribution</item> + <item label="dataQualityTab">dataQuality</item> + <item label="appSchInfoTab">appSchInfo</item> + <item label="porCatInfoTab">porCatInfo</item> + <item label="contentInfoTab">contentInfo</item> + <item label="extensionInfoTab">extensionInfo</item> + </xsl:with-param> + </xsl:call-template> + </xsl:if> </xsl:template> <!-- ==================================================================== --> Modified: schemaPlugins/trunk/iso19139.mcp-1.4/present/metadata-iso19139.mcp-1.4-edit.xsl =================================================================== --- schemaPlugins/trunk/iso19139.mcp-1.4/present/metadata-iso19139.mcp-1.4-edit.xsl 2011-11-04 09:31:43 UTC (rev 8421) +++ schemaPlugins/trunk/iso19139.mcp-1.4/present/metadata-iso19139.mcp-1.4-edit.xsl 2011-11-04 11:09:11 UTC (rev 8422) @@ -53,139 +53,10 @@ <xsl:template name="iso19139.mcp-1.4CompleteTab"> <xsl:param name="tabLink"/> - <xsl:call-template name="displayTab"> <!-- non existent tab - by profile --> - <xsl:with-param name="tab" select="''"/> - <xsl:with-param name="text" select="/root/gui/strings/byGroup"/> - <xsl:with-param name="tabLink" select="''"/> - </xsl:call-template> - - <xsl:call-template name="displayTab"> - <xsl:with-param name="tab" select="'mcpMinimum'"/> - <xsl:with-param name="text" select="'MCP Minimum'"/> - <xsl:with-param name="indent" select="'   '"/> + <xsl:call-template name="iso19139.mcpCompleteTab"> <xsl:with-param name="tabLink" select="$tabLink"/> </xsl:call-template> - <xsl:call-template name="displayTab"> - <xsl:with-param name="tab" select="'mcpCore'"/> - <xsl:with-param name="text" select="'MCP Core'"/> - <xsl:with-param name="indent" select="'   '"/> - <xsl:with-param name="tabLink" select="$tabLink"/> - </xsl:call-template> - - <xsl:call-template name="displayTab"> - <xsl:with-param name="tab" select="'complete'"/> - <xsl:with-param name="text" select="'MCP All'"/> - <xsl:with-param name="indent" select="'   '"/> - <xsl:with-param name="tabLink" select="$tabLink"/> - </xsl:call-template> - - <xsl:call-template name="displayTab"> <!-- non existent tab - by groups --> - <xsl:with-param name="tab" select="''"/> - <xsl:with-param name="text" select="/root/gui/strings/byPackage"/> - <xsl:with-param name="tabLink" select="''"/> - </xsl:call-template> - - <xsl:call-template name="displayTab"> - <xsl:with-param name="tab" select="'metadata'"/> - <xsl:with-param name="text" select="/root/gui/strings/metadata"/> - <xsl:with-param name="indent" select="'   '"/> - <xsl:with-param name="tabLink" select="$tabLink"/> - </xsl:call-template> - - <xsl:call-template name="displayTab"> - <xsl:with-param name="tab" select="'identification'"/> - <xsl:with-param name="text" select="/root/gui/strings/identificationTab"/> - <xsl:with-param name="indent" select="'   '"/> - <xsl:with-param name="tabLink" select="$tabLink"/> - </xsl:call-template> - - <xsl:call-template name="displayTab"> - <xsl:with-param name="tab" select="'temporalExtent'"/> - <xsl:with-param name="text" select="/root/gui/schemas/iso19139.mcp-1.4/strings/temporalExtentTab"/> - <xsl:with-param name="indent" select="'   '"/> - <xsl:with-param name="tabLink" select="$tabLink"/> - <xsl:with-param name="highlighted" select="true()"/> - </xsl:call-template> - - <xsl:call-template name="displayTab"> - <xsl:with-param name="tab" select="'spatialExtent'"/> - <xsl:with-param name="text" select="/root/gui/schemas/iso19139.mcp-1.4/strings/spatialExtentTab"/> - <xsl:with-param name="indent" select="'   '"/> - <xsl:with-param name="tabLink" select="$tabLink"/> - <xsl:with-param name="highlighted" select="true()"/> - </xsl:call-template> - - <xsl:call-template name="displayTab"> - <xsl:with-param name="tab" select="'maintenance'"/> - <xsl:with-param name="text" select="/root/gui/strings/maintenanceTab"/> - <xsl:with-param name="indent" select="'   '"/> - <xsl:with-param name="tabLink" select="$tabLink"/> - </xsl:call-template> - - <xsl:call-template name="displayTab"> - <xsl:with-param name="tab" select="'constraints'"/> - <xsl:with-param name="text" select="/root/gui/strings/constraintsTab"/> - <xsl:with-param name="indent" select="'   '"/> - <xsl:with-param name="tabLink" select="$tabLink"/> - </xsl:call-template> - - <xsl:call-template name="displayTab"> - <xsl:with-param name="tab" select="'spatial'"/> - <xsl:with-param name="text" select="/root/gui/strings/spatialTab"/> - <xsl:with-param name="indent" select="'   '"/> - <xsl:with-param name="tabLink" select="$tabLink"/> - </xsl:call-template> - - <xsl:call-template name="displayTab"> - <xsl:with-param name="tab" select="'refSys'"/> - <xsl:with-param name="text" select="/root/gui/strings/refSysTab"/> - <xsl:with-param name="indent" select="'   '"/> - <xsl:with-param name="tabLink" select="$tabLink"/> - </xsl:call-template> - - <xsl:call-template name="displayTab"> - <xsl:with-param name="tab" select="'distribution'"/> - <xsl:with-param name="text" select="/root/gui/strings/distributionTab"/> - <xsl:with-param name="indent" select="'   '"/> - <xsl:with-param name="tabLink" select="$tabLink"/> - </xsl:call-template> - - <xsl:call-template name="displayTab"> - <xsl:with-param name="tab" select="'dataQuality'"/> - <xsl:with-param name="text" select="/root/gui/strings/dataQualityTab"/> - <xsl:with-param name="indent" select="'   '"/> - <xsl:with-param name="tabLink" select="$tabLink"/> - </xsl:call-template> - - <xsl:call-template name="displayTab"> - <xsl:with-param name="tab" select="'appSchInfo'"/> - <xsl:with-param name="text" select="/root/gui/strings/appSchInfoTab"/> - <xsl:with-param name="indent" select="'   '"/> - <xsl:with-param name="tabLink" select="$tabLink"/> - </xsl:call-template> - - <xsl:call-template name="displayTab"> - <xsl:with-param name="tab" select="'porCatInfo'"/> - <xsl:with-param name="text" select="/root/gui/strings/porCatInfoTab"/> - <xsl:with-param name="indent" select="'   '"/> - <xsl:with-param name="tabLink" select="$tabLink"/> - </xsl:call-template> - - <xsl:call-template name="displayTab"> - <xsl:with-param name="tab" select="'contentInfo'"/> - <xsl:with-param name="text" select="/root/gui/strings/contentInfoTab"/> - <xsl:with-param name="indent" select="'   '"/> - <xsl:with-param name="tabLink" select="$tabLink"/> - </xsl:call-template> - - <xsl:call-template name="displayTab"> - <xsl:with-param name="tab" select="'extensionInfo'"/> - <xsl:with-param name="text" select="/root/gui/strings/extensionInfoTab"/> - <xsl:with-param name="indent" select="'   '"/> - <xsl:with-param name="tabLink" select="$tabLink"/> - </xsl:call-template> - </xsl:template> <!-- ===================================================================== --> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <sp...@us...> - 2011-11-05 01:48:14
|
Revision: 8423 http://geonetwork.svn.sourceforge.net/geonetwork/?rev=8423&view=rev Author: sppigot Date: 2011-11-05 01:48:07 +0000 (Sat, 05 Nov 2011) Log Message: ----------- Index parent record link with correct lucene field name Modified Paths: -------------- schemaPlugins/trunk/iso19139.mcp/index-fields.xsl schemaPlugins/trunk/iso19139.mcp-1.4/index-fields.xsl Modified: schemaPlugins/trunk/iso19139.mcp/index-fields.xsl =================================================================== --- schemaPlugins/trunk/iso19139.mcp/index-fields.xsl 2011-11-04 11:09:11 UTC (rev 8422) +++ schemaPlugins/trunk/iso19139.mcp/index-fields.xsl 2011-11-05 01:48:07 UTC (rev 8423) @@ -329,7 +329,7 @@ <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> <xsl:for-each select="gmd:parentIdentifier/gco:CharacterString"> - <Field name="parentId" string="{string(.)}" store="true" index="true"/> + <Field name="parentUuid" string="{string(.)}" store="true" index="true"/> </xsl:for-each> <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> Modified: schemaPlugins/trunk/iso19139.mcp-1.4/index-fields.xsl =================================================================== --- schemaPlugins/trunk/iso19139.mcp-1.4/index-fields.xsl 2011-11-04 11:09:11 UTC (rev 8422) +++ schemaPlugins/trunk/iso19139.mcp-1.4/index-fields.xsl 2011-11-05 01:48:07 UTC (rev 8423) @@ -313,7 +313,7 @@ <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> <xsl:for-each select="gmd:parentIdentifier/gco:CharacterString"> - <Field name="parentId" string="{string(.)}" store="true" index="true"/> + <Field name="parentUuid" string="{string(.)}" store="true" index="true"/> </xsl:for-each> <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <sp...@us...> - 2011-11-09 06:37:54
|
Revision: 8445 http://geonetwork.svn.sourceforge.net/geonetwork/?rev=8445&view=rev Author: sppigot Date: 2011-11-09 06:37:48 +0000 (Wed, 09 Nov 2011) Log Message: ----------- Include setting parentUuid for 'Create Child' function Modified Paths: -------------- schemaPlugins/trunk/iso19139.mcp/update-fixed-info.xsl schemaPlugins/trunk/iso19139.mcp-1.4/update-fixed-info.xsl Modified: schemaPlugins/trunk/iso19139.mcp/update-fixed-info.xsl =================================================================== --- schemaPlugins/trunk/iso19139.mcp/update-fixed-info.xsl 2011-11-08 12:11:13 UTC (rev 8444) +++ schemaPlugins/trunk/iso19139.mcp/update-fixed-info.xsl 2011-11-09 06:37:48 UTC (rev 8445) @@ -39,7 +39,18 @@ </xsl:choose> <xsl:apply-templates select="gmd:language"/> <xsl:apply-templates select="gmd:characterSet"/> - <xsl:apply-templates select="gmd:parentIdentifier"/> + <xsl:choose> + <xsl:when test="/root/env/parentUuid!=''"> + <gmd:parentIdentifier> + <gco:CharacterString> + <xsl:value-of select="/root/env/parentUuid"/> + </gco:CharacterString> + </gmd:parentIdentifier> + </xsl:when> + <xsl:when test="gmd:parentIdentifier"> + <xsl:apply-templates select="gmd:parentIdentifier"/> + </xsl:when> + </xsl:choose> <xsl:apply-templates select="gmd:hierarchyLevel"/> <xsl:apply-templates select="gmd:hierarchyLevelName"/> <xsl:apply-templates select="gmd:contact"/> Modified: schemaPlugins/trunk/iso19139.mcp-1.4/update-fixed-info.xsl =================================================================== --- schemaPlugins/trunk/iso19139.mcp-1.4/update-fixed-info.xsl 2011-11-08 12:11:13 UTC (rev 8444) +++ schemaPlugins/trunk/iso19139.mcp-1.4/update-fixed-info.xsl 2011-11-09 06:37:48 UTC (rev 8445) @@ -41,7 +41,18 @@ </xsl:choose> <xsl:apply-templates select="gmd:language"/> <xsl:apply-templates select="gmd:characterSet"/> - <xsl:apply-templates select="gmd:parentIdentifier"/> + <xsl:choose> + <xsl:when test="/root/env/parentUuid!=''"> + <gmd:parentIdentifier> + <gco:CharacterString> + <xsl:value-of select="/root/env/parentUuid"/> + </gco:CharacterString> + </gmd:parentIdentifier> + </xsl:when> + <xsl:when test="gmd:parentIdentifier"> + <xsl:apply-templates select="gmd:parentIdentifier"/> + </xsl:when> + </xsl:choose> <xsl:apply-templates select="gmd:hierarchyLevel"/> <xsl:apply-templates select="gmd:hierarchyLevelName"/> <xsl:apply-templates select="gmd:contact"/> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <sp...@us...> - 2011-11-09 10:48:18
|
Revision: 8448 http://geonetwork.svn.sourceforge.net/geonetwork/?rev=8448&view=rev Author: sppigot Date: 2011-11-09 10:48:10 +0000 (Wed, 09 Nov 2011) Log Message: ----------- Add update children from parent xslt for MCP - modified from standard iso19139 Added Paths: ----------- schemaPlugins/trunk/iso19139.mcp/update-child-from-parent-info.xsl schemaPlugins/trunk/iso19139.mcp-1.4/update-child-from-parent-info.xsl Added: schemaPlugins/trunk/iso19139.mcp/update-child-from-parent-info.xsl =================================================================== --- schemaPlugins/trunk/iso19139.mcp/update-child-from-parent-info.xsl (rev 0) +++ schemaPlugins/trunk/iso19139.mcp/update-child-from-parent-info.xsl 2011-11-09 10:48:10 UTC (rev 8448) @@ -0,0 +1,259 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" + xmlns:gml="http://www.opengis.net/gml" xmlns:srv="http://www.isotc211.org/2005/srv" + xmlns:gco="http://www.isotc211.org/2005/gco" xmlns:gmd="http://www.isotc211.org/2005/gmd" + xmlns:mcp="http://bluenet3.antcrc.utas.edu.au/mcp" + xmlns:geonet="http://www.fao.org/geonetwork" exclude-result-prefixes="gmd srv"> + + + <!-- Parameters --> + <xsl:param name="updateMode" select="'replace'"/> + + <xsl:param name="gmd-contact"/> + <xsl:param name="gmd-spatialRepresentationInfo"/> + <xsl:param name="gmd-referenceSystemInfo"/> + <xsl:param name="gmd-metadataExtensionInfo"/> + <xsl:param name="gmd-pointOfContact"/> + <xsl:param name="gmd-descriptiveKeywords"/> + <xsl:param name="gmd-extent"/> + <xsl:param name="gmd-contentInfo"/> + <xsl:param name="gmd-distributionInfo"/> + <xsl:param name="gmd-dataQualityInfo"/> + <xsl:param name="gmd-portrayalCatalogueInfo"/> + <xsl:param name="gmd-metadataConstraints"/> + <xsl:param name="gmd-applicationSchemaInfo"/> + <xsl:param name="gmd-metadataMaintenance"/> + + <!-- ================================================================= --> + + <xsl:template match="/"> + <xsl:apply-templates select="/root/update/parent/mcp:MD_Metadata"/> + </xsl:template> + + <!-- ================================================================= --> + + <xsl:template match="/root/update/parent/mcp:MD_Metadata"> + <xsl:copy> + <xsl:copy-of select="/root/child/mcp:MD_Metadata/gmd:fileIdentifier"/> + <xsl:copy-of select="/root/child/mcp:MD_Metadata/gmd:language|gmd:characterSet"/> + <xsl:copy-of select="/root/child/mcp:MD_Metadata/gmd:parentIdentifier"/> + <xsl:copy-of select="/root/child/mcp:MD_Metadata/gmd:hierarchyLevel"/> + <xsl:copy-of select="/root/child/mcp:MD_Metadata/gmd:hierarchyLevelName"/> + + <xsl:call-template name="process"> + <xsl:with-param name="update" select="$gmd-contact"/> + <xsl:with-param name="name" select="gmd:contact"/> + <xsl:with-param name="mode" select="$updateMode"/> + </xsl:call-template> + + <xsl:copy-of select="gmd:dateStamp"/> + <xsl:copy-of select="gmd:metadataStandardName"/> + <xsl:copy-of select="gmd:metadataStandardVersion"/> + + <xsl:copy-of select="/root/child/mcp:MD_Metadata/gmd:dataSetURI"/> + <xsl:copy-of select="gmd:locale"/> + + <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> + + <xsl:call-template name="process"> + <xsl:with-param name="update" select="$gmd-spatialRepresentationInfo"/> + <xsl:with-param name="name" select="gmd:spatialRepresentationInfo"/> + <xsl:with-param name="mode" select="$updateMode"/> + </xsl:call-template> + + <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> + + <xsl:call-template name="process"> + <xsl:with-param name="update" select="$gmd-referenceSystemInfo"/> + <xsl:with-param name="name" select="gmd:referenceSystemInfo"/> + <xsl:with-param name="mode" select="$updateMode"/> + </xsl:call-template> + + <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> + + <xsl:call-template name="process"> + <xsl:with-param name="update" select="$gmd-metadataExtensionInfo"/> + <xsl:with-param name="name" select="gmd:metadataExtensionInfo"/> + <xsl:with-param name="mode" select="$updateMode"/> + </xsl:call-template> + + <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> + <!-- Identification --> + <gmd:identificationInfo> + <xsl:for-each select="/root/child/mcp:MD_Metadata/gmd:identificationInfo/gmd:MD_DataIdentification| + /root/child/mcp:MD_Metadata/gmd:identificationInfo/*[@gco:isoType='gmd:MD_DataIdentification']| + /root/child/mcp:MD_Metadata/gmd:identificationInfo/srv:SV_ServiceIdentification| + /root/child/mcp:MD_Metadata/gmd:identificationInfo/*[@gco:isoType='srv:SV_ServiceIdentification']"> + <xsl:copy> + <xsl:copy-of select="@*"/> + <xsl:copy-of select="gmd:citation"/> + <xsl:copy-of select="gmd:abstract"/> + + <!-- FIXME / TO BE DISCUSS following sections are preserved --> + <xsl:copy-of select="gmd:purpose"/> + <xsl:copy-of select="gmd:credit"/> + <xsl:copy-of select="gmd:status"/> + + <xsl:call-template name="process"> + <xsl:with-param name="update" select="$gmd-pointOfContact"/> + <xsl:with-param name="name" select="/root/update/parent/mcp:MD_Metadata/gmd:identificationInfo/*/gmd:pointOfContact"/> + <xsl:with-param name="mode" select="$updateMode"/> + <xsl:with-param name="subLevel" select="true()"/> + </xsl:call-template> + + <xsl:copy-of select="/root/update/parent/mcp:MD_Metadata/gmd:identificationInfo/*/gmd:resourceMaintenance"/> + <xsl:copy-of select="gmd:graphicOverview"/> + <xsl:copy-of select="/root/update/parent/mcp:MD_Metadata/gmd:identificationInfo/*/gmd:resourceFormat"/> + + <xsl:call-template name="process"> + <xsl:with-param name="update" select="$gmd-descriptiveKeywords"/> + <xsl:with-param name="name" select="/root/update/parent/mcp:MD_Metadata/gmd:identificationInfo/*/gmd:descriptiveKeywords"/> + <xsl:with-param name="mode" select="$updateMode"/> + <xsl:with-param name="subLevel" select="true()"/> + </xsl:call-template> + + <!-- FIXME / TO BE DISCUSS following sections are replaced (excepts AggregationInfo preserved). --> + <xsl:copy-of select="/root/update/parent/mcp:MD_Metadata/gmd:identificationInfo/*/gmd:resourceSpecificUsage"/> + <xsl:copy-of select="/root/update/parent/mcp:MD_Metadata/gmd:identificationInfo/*/gmd:resourceConstraints"/> + <xsl:copy-of select="gmd:aggregationInfo"/> + <xsl:copy-of select="/root/update/parent/mcp:MD_Metadata/gmd:identificationInfo/*/gmd:spatialRepresentationType"/> + <xsl:copy-of select="/root/update/parent/mcp:MD_Metadata/gmd:identificationInfo/*/gmd:spatialResolution"/> + <xsl:copy-of select="/root/update/parent/mcp:MD_Metadata/gmd:identificationInfo/*/gmd:langage"/> + <xsl:copy-of select="/root/update/parent/mcp:MD_Metadata/gmd:identificationInfo/*/gmd:characterSet"/> + <xsl:copy-of select="/root/update/parent/mcp:MD_Metadata/gmd:identificationInfo/*/gmd:topicCategory"/> + <xsl:copy-of select="/root/update/parent/mcp:MD_Metadata/gmd:identificationInfo/*/gmd:environmentDescription"/> + + <xsl:call-template name="process"> + <xsl:with-param name="update" select="$gmd-extent"/> + <xsl:with-param name="name" select="/root/update/parent/mcp:MD_Metadata/gmd:identificationInfo/*/gmd:extent"/> + <xsl:with-param name="mode" select="$updateMode"/> + <xsl:with-param name="subLevel" select="true()"/> + </xsl:call-template> + + <!-- FIXME / TO BE DISCUSS following sections are replaced/preserved --> + <xsl:copy-of select="/root/update/parent/mcp:MD_Metadata/gmd:identificationInfo/*/gmd:supplementalInformation"/> + <xsl:copy-of select="srv:*"/> + + <!-- copy any mcp elements at the end of the + identificationInfo/* --> + <xsl:copy-of select="mcp:*"/> + </xsl:copy> + </xsl:for-each> + </gmd:identificationInfo> + + <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> + + <xsl:call-template name="process"> + <xsl:with-param name="update" select="$gmd-contentInfo"/> + <xsl:with-param name="name" select="gmd:contentInfo"/> + <xsl:with-param name="mode" select="$updateMode"/> + </xsl:call-template> + + <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> + <!-- Distribution --> + + <xsl:call-template name="process"> + <xsl:with-param name="update" select="$gmd-distributionInfo"/> + <xsl:with-param name="name" select="gmd:distributionInfo"/> + <!-- Force mode to replace element due to schema cardinality --> + <xsl:with-param name="mode" select="'replace'"/> + </xsl:call-template> + + <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> + <!-- Quality --> + + <xsl:call-template name="process"> + <xsl:with-param name="update" select="$gmd-dataQualityInfo"/> + <xsl:with-param name="name" select="gmd:dataQualityInfo"/> + <xsl:with-param name="mode" select="$updateMode"/> + </xsl:call-template> + + <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> + + <xsl:call-template name="process"> + <xsl:with-param name="update" select="$gmd-portrayalCatalogueInfo"/> + <xsl:with-param name="name" select="gmd:portrayalCatalogueInfo"/> + <xsl:with-param name="mode" select="$updateMode"/> + </xsl:call-template> + + <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> + + <xsl:call-template name="process"> + <xsl:with-param name="update" select="$gmd-metadataConstraints"/> + <xsl:with-param name="name" select="gmd:metadataConstraints"/> + <xsl:with-param name="mode" select="$updateMode"/> + </xsl:call-template> + + <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> + + <xsl:call-template name="process"> + <xsl:with-param name="update" select="$gmd-applicationSchemaInfo"/> + <xsl:with-param name="name" select="gmd:applicationSchemaInfo"/> + <xsl:with-param name="mode" select="$updateMode"/> + </xsl:call-template> + + <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> + + <xsl:call-template name="process"> + <xsl:with-param name="update" select="$gmd-metadataMaintenance"/> + <xsl:with-param name="name" select="gmd:metadataMaintenance"/> + <!-- Force mode to replace element due to schema cardinality --> + <xsl:with-param name="mode" select="'replace'"/> + </xsl:call-template> + + <!-- FIXME / TO BE DISCUSS following sections are preserved --> + <xsl:copy-of select="/root/child/mcp:MD_Metadata/gmd:series"/> + <xsl:copy-of select="/root/child/mcp:MD_Metadata/gmd:describes"/> + <xsl:copy-of select="/root/child/mcp:MD_Metadata/gmd:propertyType"/> + <xsl:copy-of select="/root/child/mcp:MD_Metadata/gmd:featureType"/> + <xsl:copy-of select="/root/child/mcp:MD_Metadata/gmd:featureAttribute"/> + <!-- copy any mcp elements at the end of the mcp:MD_Metadata --> + <xsl:copy-of select="mcp:*"/> + + </xsl:copy> + </xsl:template> + + + <!-- Generic template for children update --> + <!-- Depending on the choosen strategy to be applied on each main sections (mode) --> + <xsl:template name="process"> + <xsl:param name="update" select="false()"/> + <xsl:param name="name"/> + <xsl:param name="mode"/> + <xsl:param name="subLevel" select="false()"></xsl:param> + + <xsl:variable name="childElement"> + <xsl:choose> + <xsl:when test="$subLevel=true()"> + <xsl:copy-of select="/root/child/mcp:MD_Metadata/gmd:identificationInfo/gmd:MD_DataIdentification/*[name(.)=name($name)]| + /root/child/mcp:MD_Metadata/gmd:identificationInfo/*[@gco:isoType='gmd:MD_DataIdentification']/*[name(.)=name($name)]| + /root/child/mcp:MD_Metadata/gmd:identificationInfo/srv:SV_ServiceIdentification/*[name(.)=name($name)]| + /root/child/mcp:MD_Metadata/gmd:identificationInfo/*[@gco:isoType='srv:SV_ServiceIdentification']/*[name(.)=name($name)]"/> + </xsl:when> + <xsl:otherwise> + <xsl:copy-of select="/root/child/mcp:MD_Metadata/*[name(.)=name($name)]"/> + </xsl:otherwise> + </xsl:choose> + </xsl:variable> + + <xsl:choose> + <!-- Replacing elements from parent --> + <xsl:when test="$mode='replace' and $update='true'"> + <xsl:copy-of select="$name"/> + </xsl:when> + <!-- Adding elements --> + <xsl:when test="$mode='add' and $update='true'"> + <xsl:copy-of select="$childElement"/> + <xsl:copy-of select="$name"/> + </xsl:when> + <!-- Elements preserved from child--> + <xsl:otherwise> + <xsl:copy-of select="$childElement"/> + </xsl:otherwise> + </xsl:choose> + + </xsl:template> + + +</xsl:stylesheet> Added: schemaPlugins/trunk/iso19139.mcp-1.4/update-child-from-parent-info.xsl =================================================================== --- schemaPlugins/trunk/iso19139.mcp-1.4/update-child-from-parent-info.xsl (rev 0) +++ schemaPlugins/trunk/iso19139.mcp-1.4/update-child-from-parent-info.xsl 2011-11-09 10:48:10 UTC (rev 8448) @@ -0,0 +1,259 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" + xmlns:gml="http://www.opengis.net/gml" xmlns:srv="http://www.isotc211.org/2005/srv" + xmlns:gco="http://www.isotc211.org/2005/gco" xmlns:gmd="http://www.isotc211.org/2005/gmd" + xmlns:mcp="http://bluenet3.antcrc.utas.edu.au/mcp" + xmlns:geonet="http://www.fao.org/geonetwork" exclude-result-prefixes="gmd srv"> + + + <!-- Parameters --> + <xsl:param name="updateMode" select="'replace'"/> + + <xsl:param name="gmd-contact"/> + <xsl:param name="gmd-spatialRepresentationInfo"/> + <xsl:param name="gmd-referenceSystemInfo"/> + <xsl:param name="gmd-metadataExtensionInfo"/> + <xsl:param name="gmd-pointOfContact"/> + <xsl:param name="gmd-descriptiveKeywords"/> + <xsl:param name="gmd-extent"/> + <xsl:param name="gmd-contentInfo"/> + <xsl:param name="gmd-distributionInfo"/> + <xsl:param name="gmd-dataQualityInfo"/> + <xsl:param name="gmd-portrayalCatalogueInfo"/> + <xsl:param name="gmd-metadataConstraints"/> + <xsl:param name="gmd-applicationSchemaInfo"/> + <xsl:param name="gmd-metadataMaintenance"/> + + <!-- ================================================================= --> + + <xsl:template match="/"> + <xsl:apply-templates select="/root/update/parent/mcp:MD_Metadata"/> + </xsl:template> + + <!-- ================================================================= --> + + <xsl:template match="/root/update/parent/mcp:MD_Metadata"> + <xsl:copy> + <xsl:copy-of select="/root/child/mcp:MD_Metadata/gmd:fileIdentifier"/> + <xsl:copy-of select="/root/child/mcp:MD_Metadata/gmd:language|gmd:characterSet"/> + <xsl:copy-of select="/root/child/mcp:MD_Metadata/gmd:parentIdentifier"/> + <xsl:copy-of select="/root/child/mcp:MD_Metadata/gmd:hierarchyLevel"/> + <xsl:copy-of select="/root/child/mcp:MD_Metadata/gmd:hierarchyLevelName"/> + + <xsl:call-template name="process"> + <xsl:with-param name="update" select="$gmd-contact"/> + <xsl:with-param name="name" select="gmd:contact"/> + <xsl:with-param name="mode" select="$updateMode"/> + </xsl:call-template> + + <xsl:copy-of select="gmd:dateStamp"/> + <xsl:copy-of select="gmd:metadataStandardName"/> + <xsl:copy-of select="gmd:metadataStandardVersion"/> + + <xsl:copy-of select="/root/child/mcp:MD_Metadata/gmd:dataSetURI"/> + <xsl:copy-of select="gmd:locale"/> + + <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> + + <xsl:call-template name="process"> + <xsl:with-param name="update" select="$gmd-spatialRepresentationInfo"/> + <xsl:with-param name="name" select="gmd:spatialRepresentationInfo"/> + <xsl:with-param name="mode" select="$updateMode"/> + </xsl:call-template> + + <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> + + <xsl:call-template name="process"> + <xsl:with-param name="update" select="$gmd-referenceSystemInfo"/> + <xsl:with-param name="name" select="gmd:referenceSystemInfo"/> + <xsl:with-param name="mode" select="$updateMode"/> + </xsl:call-template> + + <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> + + <xsl:call-template name="process"> + <xsl:with-param name="update" select="$gmd-metadataExtensionInfo"/> + <xsl:with-param name="name" select="gmd:metadataExtensionInfo"/> + <xsl:with-param name="mode" select="$updateMode"/> + </xsl:call-template> + + <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> + <!-- Identification --> + <gmd:identificationInfo> + <xsl:for-each select="/root/child/mcp:MD_Metadata/gmd:identificationInfo/gmd:MD_DataIdentification| + /root/child/mcp:MD_Metadata/gmd:identificationInfo/*[@gco:isoType='gmd:MD_DataIdentification']| + /root/child/mcp:MD_Metadata/gmd:identificationInfo/srv:SV_ServiceIdentification| + /root/child/mcp:MD_Metadata/gmd:identificationInfo/*[@gco:isoType='srv:SV_ServiceIdentification']"> + <xsl:copy> + <xsl:copy-of select="@*"/> + <xsl:copy-of select="gmd:citation"/> + <xsl:copy-of select="gmd:abstract"/> + + <!-- FIXME / TO BE DISCUSS following sections are preserved --> + <xsl:copy-of select="gmd:purpose"/> + <xsl:copy-of select="gmd:credit"/> + <xsl:copy-of select="gmd:status"/> + + <xsl:call-template name="process"> + <xsl:with-param name="update" select="$gmd-pointOfContact"/> + <xsl:with-param name="name" select="/root/update/parent/mcp:MD_Metadata/gmd:identificationInfo/*/gmd:pointOfContact"/> + <xsl:with-param name="mode" select="$updateMode"/> + <xsl:with-param name="subLevel" select="true()"/> + </xsl:call-template> + + <xsl:copy-of select="/root/update/parent/mcp:MD_Metadata/gmd:identificationInfo/*/gmd:resourceMaintenance"/> + <xsl:copy-of select="gmd:graphicOverview"/> + <xsl:copy-of select="/root/update/parent/mcp:MD_Metadata/gmd:identificationInfo/*/gmd:resourceFormat"/> + + <xsl:call-template name="process"> + <xsl:with-param name="update" select="$gmd-descriptiveKeywords"/> + <xsl:with-param name="name" select="/root/update/parent/mcp:MD_Metadata/gmd:identificationInfo/*/gmd:descriptiveKeywords"/> + <xsl:with-param name="mode" select="$updateMode"/> + <xsl:with-param name="subLevel" select="true()"/> + </xsl:call-template> + + <!-- FIXME / TO BE DISCUSS following sections are replaced (excepts AggregationInfo preserved). --> + <xsl:copy-of select="/root/update/parent/mcp:MD_Metadata/gmd:identificationInfo/*/gmd:resourceSpecificUsage"/> + <xsl:copy-of select="/root/update/parent/mcp:MD_Metadata/gmd:identificationInfo/*/gmd:resourceConstraints"/> + <xsl:copy-of select="gmd:aggregationInfo"/> + <xsl:copy-of select="/root/update/parent/mcp:MD_Metadata/gmd:identificationInfo/*/gmd:spatialRepresentationType"/> + <xsl:copy-of select="/root/update/parent/mcp:MD_Metadata/gmd:identificationInfo/*/gmd:spatialResolution"/> + <xsl:copy-of select="/root/update/parent/mcp:MD_Metadata/gmd:identificationInfo/*/gmd:langage"/> + <xsl:copy-of select="/root/update/parent/mcp:MD_Metadata/gmd:identificationInfo/*/gmd:characterSet"/> + <xsl:copy-of select="/root/update/parent/mcp:MD_Metadata/gmd:identificationInfo/*/gmd:topicCategory"/> + <xsl:copy-of select="/root/update/parent/mcp:MD_Metadata/gmd:identificationInfo/*/gmd:environmentDescription"/> + + <xsl:call-template name="process"> + <xsl:with-param name="update" select="$gmd-extent"/> + <xsl:with-param name="name" select="/root/update/parent/mcp:MD_Metadata/gmd:identificationInfo/*/gmd:extent"/> + <xsl:with-param name="mode" select="$updateMode"/> + <xsl:with-param name="subLevel" select="true()"/> + </xsl:call-template> + + <!-- FIXME / TO BE DISCUSS following sections are replaced/preserved --> + <xsl:copy-of select="/root/update/parent/mcp:MD_Metadata/gmd:identificationInfo/*/gmd:supplementalInformation"/> + <xsl:copy-of select="srv:*"/> + + <!-- copy any mcp elements at the end of the + identificationInfo/* --> + <xsl:copy-of select="mcp:*"/> + </xsl:copy> + </xsl:for-each> + </gmd:identificationInfo> + + <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> + + <xsl:call-template name="process"> + <xsl:with-param name="update" select="$gmd-contentInfo"/> + <xsl:with-param name="name" select="gmd:contentInfo"/> + <xsl:with-param name="mode" select="$updateMode"/> + </xsl:call-template> + + <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> + <!-- Distribution --> + + <xsl:call-template name="process"> + <xsl:with-param name="update" select="$gmd-distributionInfo"/> + <xsl:with-param name="name" select="gmd:distributionInfo"/> + <!-- Force mode to replace element due to schema cardinality --> + <xsl:with-param name="mode" select="'replace'"/> + </xsl:call-template> + + <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> + <!-- Quality --> + + <xsl:call-template name="process"> + <xsl:with-param name="update" select="$gmd-dataQualityInfo"/> + <xsl:with-param name="name" select="gmd:dataQualityInfo"/> + <xsl:with-param name="mode" select="$updateMode"/> + </xsl:call-template> + + <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> + + <xsl:call-template name="process"> + <xsl:with-param name="update" select="$gmd-portrayalCatalogueInfo"/> + <xsl:with-param name="name" select="gmd:portrayalCatalogueInfo"/> + <xsl:with-param name="mode" select="$updateMode"/> + </xsl:call-template> + + <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> + + <xsl:call-template name="process"> + <xsl:with-param name="update" select="$gmd-metadataConstraints"/> + <xsl:with-param name="name" select="gmd:metadataConstraints"/> + <xsl:with-param name="mode" select="$updateMode"/> + </xsl:call-template> + + <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> + + <xsl:call-template name="process"> + <xsl:with-param name="update" select="$gmd-applicationSchemaInfo"/> + <xsl:with-param name="name" select="gmd:applicationSchemaInfo"/> + <xsl:with-param name="mode" select="$updateMode"/> + </xsl:call-template> + + <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> + + <xsl:call-template name="process"> + <xsl:with-param name="update" select="$gmd-metadataMaintenance"/> + <xsl:with-param name="name" select="gmd:metadataMaintenance"/> + <!-- Force mode to replace element due to schema cardinality --> + <xsl:with-param name="mode" select="'replace'"/> + </xsl:call-template> + + <!-- FIXME / TO BE DISCUSS following sections are preserved --> + <xsl:copy-of select="/root/child/mcp:MD_Metadata/gmd:series"/> + <xsl:copy-of select="/root/child/mcp:MD_Metadata/gmd:describes"/> + <xsl:copy-of select="/root/child/mcp:MD_Metadata/gmd:propertyType"/> + <xsl:copy-of select="/root/child/mcp:MD_Metadata/gmd:featureType"/> + <xsl:copy-of select="/root/child/mcp:MD_Metadata/gmd:featureAttribute"/> + <!-- copy any mcp elements at the end of the mcp:MD_Metadata --> + <xsl:copy-of select="mcp:*"/> + + </xsl:copy> + </xsl:template> + + + <!-- Generic template for children update --> + <!-- Depending on the choosen strategy to be applied on each main sections (mode) --> + <xsl:template name="process"> + <xsl:param name="update" select="false()"/> + <xsl:param name="name"/> + <xsl:param name="mode"/> + <xsl:param name="subLevel" select="false()"></xsl:param> + + <xsl:variable name="childElement"> + <xsl:choose> + <xsl:when test="$subLevel=true()"> + <xsl:copy-of select="/root/child/mcp:MD_Metadata/gmd:identificationInfo/gmd:MD_DataIdentification/*[name(.)=name($name)]| + /root/child/mcp:MD_Metadata/gmd:identificationInfo/*[@gco:isoType='gmd:MD_DataIdentification']/*[name(.)=name($name)]| + /root/child/mcp:MD_Metadata/gmd:identificationInfo/srv:SV_ServiceIdentification/*[name(.)=name($name)]| + /root/child/mcp:MD_Metadata/gmd:identificationInfo/*[@gco:isoType='srv:SV_ServiceIdentification']/*[name(.)=name($name)]"/> + </xsl:when> + <xsl:otherwise> + <xsl:copy-of select="/root/child/mcp:MD_Metadata/*[name(.)=name($name)]"/> + </xsl:otherwise> + </xsl:choose> + </xsl:variable> + + <xsl:choose> + <!-- Replacing elements from parent --> + <xsl:when test="$mode='replace' and $update='true'"> + <xsl:copy-of select="$name"/> + </xsl:when> + <!-- Adding elements --> + <xsl:when test="$mode='add' and $update='true'"> + <xsl:copy-of select="$childElement"/> + <xsl:copy-of select="$name"/> + </xsl:when> + <!-- Elements preserved from child--> + <xsl:otherwise> + <xsl:copy-of select="$childElement"/> + </xsl:otherwise> + </xsl:choose> + + </xsl:template> + + +</xsl:stylesheet> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <sp...@us...> - 2011-12-14 07:58:47
|
Revision: 8494 http://geonetwork.svn.sourceforge.net/geonetwork/?rev=8494&view=rev Author: sppigot Date: 2011-12-14 07:58:40 +0000 (Wed, 14 Dec 2011) Log Message: ----------- Fix dateStamp handling in both anzlic and mcp schemas - fix for ticket #665 Modified Paths: -------------- schemaPlugins/trunk/iso19139.anzlic/update-fixed-info.xsl schemaPlugins/trunk/iso19139.mcp/update-fixed-info.xsl schemaPlugins/trunk/iso19139.mcp-1.4/update-fixed-info.xsl Modified: schemaPlugins/trunk/iso19139.anzlic/update-fixed-info.xsl =================================================================== --- schemaPlugins/trunk/iso19139.anzlic/update-fixed-info.xsl 2011-12-13 12:35:27 UTC (rev 8493) +++ schemaPlugins/trunk/iso19139.anzlic/update-fixed-info.xsl 2011-12-14 07:58:40 UTC (rev 8494) @@ -11,6 +11,9 @@ <xsl:include href="convert/functions.xsl"/> + <xsl:variable name="metadataStandardName" select="'ANZLIC Metadata Profile: An Australian/New Zealand Profile of AS/NZS ISO 19115:2005, Geographic information - Metadata'"/> + <xsl:variable name="metadataStandardVersion" select="'1.1'"/> + <!-- ================================================================= --> <xsl:template match="/root"> @@ -23,69 +26,102 @@ <xsl:copy> <xsl:copy-of select="@*[name(.)!='xsi:schemaLocation']"/> <xsl:attribute name="xsi:schemaLocation">http://www.isotc211.org/2005/gmd http://www.isotc211.org/2005/gmd/gmd.xsd http://www.isotc211.org/2005/srv http://schemas.opengis.net/iso/19139/20060504/srv/srv.xsd</xsl:attribute> - <gmd:fileIdentifier> - <gco:CharacterString> - <xsl:value-of select="/root/env/uuid"/> - </gco:CharacterString> - </gmd:fileIdentifier> - - <xsl:copy-of select="gmd:language|gmd:characterSet"/> - + <xsl:choose> + <xsl:when test="not(gmd:fileIdentifier)"> + <gmd:fileIdentifier> + <gco:CharacterString><xsl:value-of select="/root/env/uuid"/></gco:CharacterString> + </gmd:fileIdentifier> + </xsl:when> + <xsl:otherwise> + <xsl:apply-templates select="gmd:fileIdentifier"/> + </xsl:otherwise> + </xsl:choose> + <xsl:apply-templates select="gmd:language"/> + <xsl:apply-templates select="gmd:characterSet"/> <xsl:choose> - <xsl:when test="/root/env/parentUuid!=''"> - <gmd:parentIdentifier> - <gco:CharacterString> - <xsl:value-of select="/root/env/parentUuid"/> - </gco:CharacterString> - </gmd:parentIdentifier> + <xsl:when test="/root/env/parentUuid!=''"> + <gmd:parentIdentifier> + <gco:CharacterString> + <xsl:value-of select="/root/env/parentUuid"/> + </gco:CharacterString> + </gmd:parentIdentifier> + </xsl:when> + <xsl:when test="gmd:parentIdentifier"> + <xsl:apply-templates select="gmd:parentIdentifier"/> + </xsl:when> + </xsl:choose> + <xsl:apply-templates select="gmd:hierarchyLevel"/> + <xsl:apply-templates select="gmd:hierarchyLevelName"/> + <xsl:apply-templates select="gmd:contact"/> + <xsl:choose> + <xsl:when test="not(gmd:dateStamp) or normalize-space(gmd:dateStamp/*)=''"> + <gmd:dateStamp> + <gco:DateTime><xsl:value-of select="/root/env/changeDate"/></gco:DateTime> + </gmd:dateStamp> </xsl:when> - <xsl:when test="gmd:parentIdentifier"> - <xsl:copy-of select="gmd:parentIdentifier"/> - </xsl:when> + <xsl:otherwise> + <xsl:apply-templates select="gmd:dateStamp"/> + </xsl:otherwise> </xsl:choose> - <xsl:apply-templates select="node()"/> + <xsl:choose> + <xsl:when test="not(gmd:metadataStandardName)"> + <gmd:metadataStandardName> + <gco:CharacterString><xsl:value-of select="$metadataStandardName"/></gco:CharacterString> + </gmd:metadataStandardName> + </xsl:when> + <xsl:otherwise> + <xsl:apply-templates select="gmd:metadataStandardName"/> + </xsl:otherwise> + </xsl:choose> + <xsl:choose> + <xsl:when test="not(gmd:metadataStandardVersion)"> + <gmd:metadataStandardVersion> + <gco:CharacterString><xsl:value-of select="$metadataStandardVersion"/></gco:CharacterString> + </gmd:metadataStandardVersion> + </xsl:when> + <xsl:otherwise> + <xsl:apply-templates select="gmd:metadataStandardVersion"/> + </xsl:otherwise> + </xsl:choose> + <xsl:apply-templates select="gmd:dataSetURI"/> + <xsl:apply-templates select="gmd:locale"/> + <xsl:apply-templates select="gmd:spatialRepresentationInfo"/> + <xsl:apply-templates select="gmd:referenceSystemInfo"/> + <xsl:apply-templates select="gmd:metadataExtensionInfo"/> + <xsl:apply-templates select="gmd:identificationInfo"/> + <xsl:apply-templates select="gmd:contentInfo"/> + <xsl:apply-templates select="gmd:distributionInfo"/> + <xsl:apply-templates select="gmd:dataQualityInfo"/> + <xsl:apply-templates select="gmd:portrayalCatalogueInfo"/> + <xsl:apply-templates select="gmd:metadataConstraints"/> + <xsl:apply-templates select="gmd:applicationSchemaInfo"/> + <xsl:apply-templates select="gmd:metadataMaintenance"/> + <xsl:apply-templates select="gmd:series"/> + <xsl:apply-templates select="gmd:describes"/> + <xsl:apply-templates select="gmd:propertyType"/> + <xsl:apply-templates select="gmd:featureType"/> + <xsl:apply-templates select="gmd:featureAttribute"/> </xsl:copy> </xsl:template> - <!-- ================================================================= --> - <!-- Do not process MD_Metadata header generated by previous template --> - - <xsl:template match="gmd:MD_Metadata/gmd:fileIdentifier|gmd:MD_Metadata/gmd:language|gmd:MD_Metadata/gmd:characterSet|gmd:MD_Metadata/gmd:parentIdentifier" priority="10"/> - - <!-- ================================================================= --> - - <xsl:template match="gmd:dateStamp"> - <xsl:choose> - <xsl:when test="/root/env/updateDateStamp='yes'"> - <gmd:dateStamp> - <gco:DateTime><xsl:value-of select="/root/env/changeDate"/></gco:DateTime> - </gmd:dateStamp> - </xsl:when> - <xsl:otherwise> - <xsl:copy-of select="."/> - </xsl:otherwise> - </xsl:choose> - </xsl:template> - - <!-- ================================================================= --> - + <xsl:template match="gmd:metadataStandardName" priority="10"> <xsl:copy> - <gco:CharacterString>ANZLIC Metadata Profile: An Australian/New Zealand Profile of AS/NZS ISO 19115:2005, Geographic information - Metadata</gco:CharacterString> + <gco:CharacterString><xsl:value-of select="$metadataStandardName"/></gco:CharacterString> </xsl:copy> </xsl:template> - + <!-- ================================================================= --> <xsl:template match="gmd:metadataStandardVersion" priority="10"> <xsl:copy> - <gco:CharacterString>1.1</gco:CharacterString> + <gco:CharacterString><xsl:value-of select="$metadataStandardVersion"/></gco:CharacterString> </xsl:copy> </xsl:template> <!-- ================================================================= --> - + <xsl:template match="@gml:id"> <xsl:choose> <xsl:when test="normalize-space(.)=''"> Modified: schemaPlugins/trunk/iso19139.mcp/update-fixed-info.xsl =================================================================== --- schemaPlugins/trunk/iso19139.mcp/update-fixed-info.xsl 2011-12-13 12:35:27 UTC (rev 8493) +++ schemaPlugins/trunk/iso19139.mcp/update-fixed-info.xsl 2011-12-14 07:58:40 UTC (rev 8494) @@ -57,8 +57,17 @@ <xsl:apply-templates select="gmd:hierarchyLevel"/> <xsl:apply-templates select="gmd:hierarchyLevelName"/> <xsl:apply-templates select="gmd:contact"/> - <xsl:apply-templates select="gmd:dateStamp"/> <xsl:choose> + <xsl:when test="not(gmd:dateStamp) or normalize-space(gmd:dateStamp/*)=''"> + <gmd:dateStamp> + <gco:DateTime><xsl:value-of select="/root/env/changeDate"/></gco:DateTime> + </gmd:dateStamp> + </xsl:when> + <xsl:otherwise> + <xsl:apply-templates select="gmd:dateStamp"/> + </xsl:otherwise> + </xsl:choose> + <xsl:choose> <xsl:when test="not(gmd:metadataStandardName)"> <gmd:metadataStandardName> <gco:CharacterString><xsl:value-of select="$metadataStandardName"/></gco:CharacterString> @@ -205,7 +214,7 @@ <xsl:template match="gmd:dateStamp"> <xsl:choose> - <xsl:when test="/root/env/updateDateStamp='yes'"> + <xsl:when test="/root/env/changeDate"> <gmd:dateStamp> <gco:DateTime><xsl:value-of select="/root/env/changeDate"/></gco:DateTime> </gmd:dateStamp> Modified: schemaPlugins/trunk/iso19139.mcp-1.4/update-fixed-info.xsl =================================================================== --- schemaPlugins/trunk/iso19139.mcp-1.4/update-fixed-info.xsl 2011-12-13 12:35:27 UTC (rev 8493) +++ schemaPlugins/trunk/iso19139.mcp-1.4/update-fixed-info.xsl 2011-12-14 07:58:40 UTC (rev 8494) @@ -59,8 +59,17 @@ <xsl:apply-templates select="gmd:hierarchyLevel"/> <xsl:apply-templates select="gmd:hierarchyLevelName"/> <xsl:apply-templates select="gmd:contact"/> - <xsl:apply-templates select="gmd:dateStamp"/> <xsl:choose> + <xsl:when test="not(gmd:dateStamp) or normalize-space(gmd:dateStamp/*)=''"> + <gmd:dateStamp> + <gco:DateTime><xsl:value-of select="/root/env/changeDate"/></gco:DateTime> + </gmd:dateStamp> + </xsl:when> + <xsl:otherwise> + <xsl:apply-templates select="gmd:dateStamp"/> + </xsl:otherwise> + </xsl:choose> + <xsl:choose> <xsl:when test="not(gmd:metadataStandardName)"> <gmd:metadataStandardName> <gco:CharacterString><xsl:value-of select="$metadataStandardName"/></gco:CharacterString> @@ -207,7 +216,7 @@ <xsl:template match="gmd:dateStamp"> <xsl:choose> - <xsl:when test="/root/env/updateDateStamp='yes'"> + <xsl:when test="/root/env/changeDate"> <gmd:dateStamp> <gco:DateTime><xsl:value-of select="/root/env/changeDate"/></gco:DateTime> </gmd:dateStamp> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <sp...@us...> - 2011-12-15 09:20:32
|
Revision: 8496 http://geonetwork.svn.sourceforge.net/geonetwork/?rev=8496&view=rev Author: sppigot Date: 2011-12-15 09:20:21 +0000 (Thu, 15 Dec 2011) Log Message: ----------- Map URLs used in codelist elements to local copies for codelist validity checking schematrons Modified Paths: -------------- schemaPlugins/trunk/iso19139.anzlic/oasis-catalog.xml schemaPlugins/trunk/iso19139.mcp/oasis-catalog.xml schemaPlugins/trunk/iso19139.mcp-1.4/oasis-catalog.xml Modified: schemaPlugins/trunk/iso19139.anzlic/oasis-catalog.xml =================================================================== --- schemaPlugins/trunk/iso19139.anzlic/oasis-catalog.xml 2011-12-14 11:21:03 UTC (rev 8495) +++ schemaPlugins/trunk/iso19139.anzlic/oasis-catalog.xml 2011-12-15 09:20:21 UTC (rev 8496) @@ -50,4 +50,18 @@ <system systemId="http://www.w3.org/1999/xlink/xlinks.xsd" uri="schema/xlink/xlinks.xsd"/> + <!-- Code lists --> + + <system systemId="http://asdd.ga.gov.au/asdd/profileinfo/GAScopeCodeList.xml" + uri="schema/resources/Codelist/GAScopeCodeList.xml"/> + + <system systemId="http://asdd.ga.gov.au/asdd/profileinfo/gmxCodelists.xml" + uri="schema/resources/Codelist/gmxCodelists.xml"/> + + <system systemId="http://www.isotc211.org/2005/iso19119/resources/Codelist/gmxCodelists.xml" + uri="schema/resources/Codelist/gmxCodelists.xml"/> + + <system systemId="http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml" + uri="schema/resources/Codelist/gmxCodeLists.xml"/> + </catalog> Modified: schemaPlugins/trunk/iso19139.mcp/oasis-catalog.xml =================================================================== --- schemaPlugins/trunk/iso19139.mcp/oasis-catalog.xml 2011-12-14 11:21:03 UTC (rev 8495) +++ schemaPlugins/trunk/iso19139.mcp/oasis-catalog.xml 2011-12-15 09:20:21 UTC (rev 8496) @@ -14,4 +14,22 @@ <system systemId="http://bluenet3.antcrc.utas.edu.au/mcp-1.5-experimental/schema.xsd" uri="schema/extensions/mcpExtensions.xsd"/> + <!-- Code lists --> + + <system systemId="http://asdd.ga.gov.au/asdd/profileinfo/GAScopeCodeList.xml" + uri="schema/resources/Codelist/GAScopeCodeList.xml"/> + + <system systemId="http://asdd.ga.gov.au/asdd/profileinfo/gmxCodelists.xml" + uri="schema/resources/Codelist/gmxCodelists.xml"/> + + <system systemId="http://www.isotc211.org/2005/iso19119/resources/Codelist/gmxCodelists.xml" + uri="schema/resources/Codelist/gmxCodelists.xml"/> + + <system systemId="http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml" + uri="schema/resources/Codelist/gmxCodeLists.xml"/> + + <system systemId="'http://bluenet3.antcrc.utas.edu.au/mcp/resources/Codelist/gmxCodelists.xml" + uri="schema/resources/Codelist/gmxCodeLists.xml"/> + + </catalog> Modified: schemaPlugins/trunk/iso19139.mcp-1.4/oasis-catalog.xml =================================================================== --- schemaPlugins/trunk/iso19139.mcp-1.4/oasis-catalog.xml 2011-12-14 11:21:03 UTC (rev 8495) +++ schemaPlugins/trunk/iso19139.mcp-1.4/oasis-catalog.xml 2011-12-15 09:20:21 UTC (rev 8496) @@ -14,4 +14,21 @@ <system systemId="http://bluenet3.antcrc.utas.edu.au/mcp-1.4/schema.xsd" uri="schema/extensions/mcpExtensions.xsd"/> + <!-- Code lists --> + + <system systemId="http://asdd.ga.gov.au/asdd/profileinfo/GAScopeCodeList.xml" + uri="schema/resources/Codelist/GAScopeCodeList.xml"/> + + <system systemId="http://asdd.ga.gov.au/asdd/profileinfo/gmxCodelists.xml" + uri="schema/resources/Codelist/gmxCodelists.xml"/> + + <system systemId="http://www.isotc211.org/2005/iso19119/resources/Codelist/gmxCodelists.xml" + uri="schema/resources/Codelist/gmxCodelists.xml"/> + + <system systemId="http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml" + uri="schema/resources/Codelist/gmxCodeLists.xml"/> + + <system systemId="'http://bluenet3.antcrc.utas.edu.au/mcp/resources/Codelist/gmxCodelists.xml" + uri="schema/resources/Codelist/gmxCodeLists.xml"/> + </catalog> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <sp...@us...> - 2012-02-20 09:27:40
|
Revision: 8713 http://geonetwork.svn.sourceforge.net/geonetwork/?rev=8713&view=rev Author: sppigot Date: 2012-02-20 09:27:28 +0000 (Mon, 20 Feb 2012) Log Message: ----------- Schema conversions setup for plugins Modified Paths: -------------- schemaPlugins/trunk/iso19135/loc/en/strings.xml schemaPlugins/trunk/iso19139.anzlic/loc/en/strings.xml schemaPlugins/trunk/iso19139.mcp-1.4/loc/en/strings.xml Added Paths: ----------- schemaPlugins/trunk/anzmeta/loc/en/strings.xml schemaPlugins/trunk/anzmeta/schema-conversions.xml schemaPlugins/trunk/eml-gbif/schema-conversions.xml schemaPlugins/trunk/iso19135/schema-conversions.xml schemaPlugins/trunk/iso19139.anzlic/schema-conversions.xml schemaPlugins/trunk/iso19139.mcp-1.4/schema-conversions.xml Added: schemaPlugins/trunk/anzmeta/loc/en/strings.xml =================================================================== --- schemaPlugins/trunk/anzmeta/loc/en/strings.xml (rev 0) +++ schemaPlugins/trunk/anzmeta/loc/en/strings.xml 2012-02-20 09:27:28 UTC (rev 8713) @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8"?> +<strings> + <xml_anzmeta>Save this metadata as an old ANZLIC XML file</xml_anzmeta> + <xml_anzmetaToiso19139.anzlic>Save this metadata as an ISO19115/19139 ANZLIC Profile XML file</xml_anzmetaToiso19139.anzlic> + <xml_anzmetaTooai_dc>Save this metadata as an OAI Dublin Core XML file</xml_anzmetaTooai_dc> + <xml_anzmetaTorifcs>Save this metadata as an ANDS rifcs XML file</xml_anzmetaTorifcs> +</strings> Added: schemaPlugins/trunk/anzmeta/schema-conversions.xml =================================================================== --- schemaPlugins/trunk/anzmeta/schema-conversions.xml (rev 0) +++ schemaPlugins/trunk/anzmeta/schema-conversions.xml 2012-02-20 09:27:28 UTC (rev 8713) @@ -0,0 +1,17 @@ +<!-- + Describes conversions to other schemas + + The name is the name of the converter - used as a service name if a + service is provided to convert records from search results or show (this + name should be unique in GeoNetwork so prefixing with xml_<schema_name> + is a good idea. + + The xslt attribute is the name of an xslt that does the conversion + in the convert dir of the schema +--> +<conversions> + <converter name="xml_anzmeta" nsUri="" schemaLocation="" xslt="xml_anzmeta.xsl"/> + <converter name="xml_anzmetaToiso19139.anzlic" nsUri="http://www.isotc211.org/2005/gmd" schemaLocation="http://www.isotc211.org/2005/gmd/gmd.xsd" xslt="anzMeta_v2toProfile/anzMeta_v2toProfile.xsl"/> + <converter name="xml_anzmetaTooai_dc" nsUri="http://www.openarchives.org/OAI/2.0/" schemaLocation="http://www.openarchives.org/OAI/2.0/oai_dc.xsd" xslt="oai_dc.xsl"/> + <converter name="xml_anzmetaTorifcs" nsUri="http://ands.org.au/standards/rif-cs/registryObjects" schemaLocation="http://services.ands.org.au/home/orca/schemata/registryObjects.xsd" xslt="rif.xsl"/> +</conversions> Added: schemaPlugins/trunk/eml-gbif/schema-conversions.xml =================================================================== --- schemaPlugins/trunk/eml-gbif/schema-conversions.xml (rev 0) +++ schemaPlugins/trunk/eml-gbif/schema-conversions.xml 2012-02-20 09:27:28 UTC (rev 8713) @@ -0,0 +1,15 @@ +<!-- + Describes conversions to other schemas + + The name is the name of the converter - used as a service name if a + service is provided to convert records from search results or show (this + name should be unique in GeoNetwork so prefixing with xml_<schema_name> + is a good idea. + + The xslt attribute is the name of an xslt that does the conversion + in the convert dir of the schema +--> +<conversions> + <converter name="xml_eml-gbif" nsUri="eml://ecoinformatics.org/eml-2.1.1" schemaLocation="http://rs.gbif.org/schema/eml-gbif-profile/dev/eml.xsd" xslt="xml_eml-gbif.xsl"/> + <converter name="xml_eml-gbifTorifcs" nsUri="http://ands.org.au/standards/rif-cs/registryObjects" schemaLocation="http://services.ands.org.au/home/orca/schemata/registryObjects.xsd" xslt="rif.xsl"/> +</conversions> Modified: schemaPlugins/trunk/iso19135/loc/en/strings.xml =================================================================== --- schemaPlugins/trunk/iso19135/loc/en/strings.xml 2012-02-20 05:42:12 UTC (rev 8712) +++ schemaPlugins/trunk/iso19135/loc/en/strings.xml 2012-02-20 09:27:28 UTC (rev 8713) @@ -8,4 +8,5 @@ <registerItemsTab>Register Items</registerItemsTab> <allTab>All</allTab> <xml_iso19135>Save this metadata as an ISO19135 XML file</xml_iso19135> + <xml_iso19135Tooai_dc>Save this metadata as an OAI Dublin Core XML file</xml_iso19135Tooai_dc> </strings> Added: schemaPlugins/trunk/iso19135/schema-conversions.xml =================================================================== --- schemaPlugins/trunk/iso19135/schema-conversions.xml (rev 0) +++ schemaPlugins/trunk/iso19135/schema-conversions.xml 2012-02-20 09:27:28 UTC (rev 8713) @@ -0,0 +1,15 @@ +<!-- + Describes conversions to other schemas + + The name is the name of the converter - used as a service name if a + service is provided to convert records from search results or show (this + name should be unique in GeoNetwork so prefixing with xml_<schema_name> + is a good idea. + + The xslt attribute is the name of an xslt that does the conversion + in the convert dir of the schema +--> +<conversions> + <converter name="xml_iso19135" nsUri="http://www.isotc211.org/2005/grg" schemaLocation="http://www.isotc211.org/2005/grg/grg.xsd" xslt="xml_iso19135.xsl"/> + <converter name="xml_iso19135Tooai_dc" nsUri="http://www.openarchives.org/OAI/2.0/" schemaLocation="http://www.openarchives.org/OAI/2.0/oai_dc.xsd" xslt="oai_dc.xsl"/> +</conversions> Modified: schemaPlugins/trunk/iso19139.anzlic/loc/en/strings.xml =================================================================== --- schemaPlugins/trunk/iso19139.anzlic/loc/en/strings.xml 2012-02-20 05:42:12 UTC (rev 8712) +++ schemaPlugins/trunk/iso19139.anzlic/loc/en/strings.xml 2012-02-20 09:27:28 UTC (rev 8713) @@ -16,4 +16,5 @@ <deprecatedTimeStrings>Deprecated - use time elements above</deprecatedTimeStrings> <xml_iso19139.anzlic>Save this metadata as an ISO19139 ANZLIC XML file</xml_iso19139.anzlic> <xml_iso19139.anzlicTorifcs>Save this metadata as an ANDS rifcs XML file</xml_iso19139.anzlicTorifcs> + <xml_iso19139.anzlicTooai_dc>Save this metadata as an OAI Dublin Core XML file</xml_iso19139.anzlicTooai_dc> </strings> Added: schemaPlugins/trunk/iso19139.anzlic/schema-conversions.xml =================================================================== --- schemaPlugins/trunk/iso19139.anzlic/schema-conversions.xml (rev 0) +++ schemaPlugins/trunk/iso19139.anzlic/schema-conversions.xml 2012-02-20 09:27:28 UTC (rev 8713) @@ -0,0 +1,16 @@ +<!-- + Describes conversions to other schemas + + The name is the name of the converter - used as a service name if a + service is provided to convert records from search results or show (this + name should be unique in GeoNetwork so prefixing with xml_<schema_name> + is a good idea. + + The xslt attribute is the name of an xslt that does the conversion + in the convert dir of the schema +--> +<conversions> + <converter name="xml_iso19139.anzlic" nsUri="http://www.isotc211.org/2005/gmd" schemaLocation="www.isotc211.org/2005/gmd/gmd.xsd" xslt="xml_iso19139.anzlic.xsl"/> + <converter name="xml_iso19139.anzlicTooai_dc" nsUri="http://www.openarchives.org/OAI/2.0/" schemaLocation="http://www.openarchives.org/OAI/2.0/oai_dc.xsd" xslt="oai_dc.xsl"/> + <converter name="xml_iso19139.anzlicTorifcs" nsUri="http://ands.org.au/standards/rif-cs/registryObjects" schemaLocation="http://services.ands.org.au/home/orca/schemata/registryObjects.xsd" xslt="rif.xsl"/> +</conversions> Modified: schemaPlugins/trunk/iso19139.mcp-1.4/loc/en/strings.xml =================================================================== --- schemaPlugins/trunk/iso19139.mcp-1.4/loc/en/strings.xml 2012-02-20 05:42:12 UTC (rev 8712) +++ schemaPlugins/trunk/iso19139.mcp-1.4/loc/en/strings.xml 2012-02-20 09:27:28 UTC (rev 8713) @@ -105,4 +105,5 @@ <uuid>Universal Unique Identifier (UUID)</uuid> <xml_iso19139.mcp-1.4>Save this metadata as an ISO19139 Marine Community Profile XML file</xml_iso19139.mcp-1.4> <xml_iso19139.mcp-1.4Torifcs>Save this metadata as an ANDS rifcs XML file</xml_iso19139.mcp-1.4Torifcs> + <xml_iso19139.mcp-1.4Tooai_dc>Save this metadata as an OAI Dublin Core XML file</xml_iso19139.mcp-1.4Tooai_dc> </strings> Added: schemaPlugins/trunk/iso19139.mcp-1.4/schema-conversions.xml =================================================================== --- schemaPlugins/trunk/iso19139.mcp-1.4/schema-conversions.xml (rev 0) +++ schemaPlugins/trunk/iso19139.mcp-1.4/schema-conversions.xml 2012-02-20 09:27:28 UTC (rev 8713) @@ -0,0 +1,16 @@ +<!-- + Describes conversions to other schemas + + The name is the name of the converter - used as a service name if a + service is provided to convert records from search results or show (this + name should be unique in GeoNetwork so prefixing with xml_<schema_name> + is a good idea. + + The xslt attribute is the name of an xslt that does the conversion + in the convert dir of the schema +--> +<conversions> + <converter name="xml_iso19139.mcp-1.4" nsUri="http://bluenet3.antcrc.utas.edu.au/mcp" schemaLocation="http://bluenet3.antcrc.utas.edu.au/mcp/schema.xsd" xslt="xml_iso19139.mcp-1.4.xsl"/> + <converter name="xml_iso19139.mcp-1.4Tooai_dc" nsUri="http://www.openarchives.org/OAI/2.0/" schemaLocation="http://www.openarchives.org/OAI/2.0/oai_dc.xsd" xslt="oai_dc.xsl"/> + <converter name="xml_iso19139.mcp-1.4Torifcs" nsUri="http://ands.org.au/standards/rif-cs/registryObjects" schemaLocation="http://services.ands.org.au/home/orca/schemata/registryObjects.xsd" xslt="rif.xsl"/> +</conversions> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
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] |
From: <sp...@us...> - 2012-03-07 09:47:40
|
Revision: 8774 http://geonetwork.svn.sourceforge.net/geonetwork/?rev=8774&view=rev Author: sppigot Date: 2012-03-07 09:47:29 +0000 (Wed, 07 Mar 2012) Log Message: ----------- Add geoBox field used by experimental extjs interface for showing metadata extents in search window Modified Paths: -------------- schemaPlugins/trunk/anzmeta/index-fields.xsl schemaPlugins/trunk/iso19139.anzlic/index-fields.xsl schemaPlugins/trunk/iso19139.mcp/index-fields.xsl schemaPlugins/trunk/iso19139.mcp-1.4/index-fields.xsl Modified: schemaPlugins/trunk/anzmeta/index-fields.xsl =================================================================== --- schemaPlugins/trunk/anzmeta/index-fields.xsl 2012-03-07 04:32:07 UTC (rev 8773) +++ schemaPlugins/trunk/anzmeta/index-fields.xsl 2012-03-07 09:47:29 UTC (rev 8774) @@ -73,21 +73,21 @@ <!-- latlon coordinates + 360, zero-padded, indexed, not stored, not tokenized --> <xsl:template match="*" mode="latLon"> - <xsl:variable name="format" select="'##.00'"></xsl:variable> - <xsl:if test="number(westbc)"> + <xsl:if test="number(westbc) and number(southbc) and number(eastbc) and + number(northbc)"> + <xsl:variable name="format" select="'##.00'"></xsl:variable> <Field name="westBL" string="{format-number(westbc, $format)}" store="true" index="true"/> - </xsl:if> - <xsl:if test="number(southbc)"> <Field name="southBL" string="{format-number(southbc, $format)}" store="true" index="true"/> - </xsl:if> - <xsl:if test="number(eastbc)"> <Field name="eastBL" string="{format-number(eastbc, $format)}" store="true" index="true"/> - </xsl:if> - <xsl:if test="number(northbc)"> <Field name="northBL" string="{format-number(northbc, $format)}" store="true" index="true"/> + <Field name="geoBox" string="{concat(format-number(westbc, $format), '|', + format-number(southbc, $format), '|', + format-number(eastbc, $format), '|', + format-number(northbc, $format) + )}" store="true" index="false"/> </xsl:if> </xsl:template> Modified: schemaPlugins/trunk/iso19139.anzlic/index-fields.xsl =================================================================== --- schemaPlugins/trunk/iso19139.anzlic/index-fields.xsl 2012-03-07 04:32:07 UTC (rev 8773) +++ schemaPlugins/trunk/iso19139.anzlic/index-fields.xsl 2012-03-07 09:47:29 UTC (rev 8774) @@ -434,29 +434,24 @@ <xsl:template match="*" mode="latLon"> <xsl:variable name="format" select="'##.00'"></xsl:variable> - <xsl:for-each select="gmd:westBoundLongitude"> - <xsl:if test="number(gco:Decimal)"> - <Field name="westBL" string="{format-number(gco:Decimal, $format)}" store="true" index="true"/> - </xsl:if> - </xsl:for-each> - <xsl:for-each select="gmd:southBoundLatitude"> - <xsl:if test="number(gco:Decimal)"> - <Field name="southBL" string="{format-number(gco:Decimal, $format)}" store="true" index="true"/> - </xsl:if> - </xsl:for-each> - - <xsl:for-each select="gmd:eastBoundLongitude"> - <xsl:if test="number(gco:Decimal)"> - <Field name="eastBL" string="{format-number(gco:Decimal, $format)}" store="true" index="true"/> - </xsl:if> - </xsl:for-each> - - <xsl:for-each select="gmd:northBoundLatitude"> - <xsl:if test="number(gco:Decimal)"> - <Field name="northBL" string="{format-number(gco:Decimal, $format)}" store="true" index="true"/> - </xsl:if> - </xsl:for-each> + <xsl:if test="number(gmd:westBoundLongitude/gco:Decimal) + and number(gmd:southBoundLatitude/gco:Decimal) + and number(gmd:eastBoundLongitude/gco:Decimal) + and number(gmd:northBoundLatitude/gco:Decimal) + "> + <Field name="westBL" string="{format-number(gmd:westBoundLongitude/gco:Decimal, $format)}" store="false" index="true"/> + <Field name="southBL" string="{format-number(gmd:southBoundLatitude/gco:Decimal, $format)}" store="false" index="true"/> + + <Field name="eastBL" string="{format-number(gmd:eastBoundLongitude/gco:Decimal, $format)}" store="false" index="true"/> + <Field name="northBL" string="{format-number(gmd:northBoundLatitude/gco:Decimal, $format)}" store="false" index="true"/> + + <Field name="geoBox" string="{concat(gmd:westBoundLongitude/gco:Decimal, '|', + gmd:southBoundLatitude/gco:Decimal, '|', + gmd:eastBoundLongitude/gco:Decimal, '|', + gmd:northBoundLatitude/gco:Decimal + )}" store="true" index="false"/> + </xsl:if> </xsl:template> <!-- ========================================================================================= --> Modified: schemaPlugins/trunk/iso19139.mcp/index-fields.xsl =================================================================== --- schemaPlugins/trunk/iso19139.mcp/index-fields.xsl 2012-03-07 04:32:07 UTC (rev 8773) +++ schemaPlugins/trunk/iso19139.mcp/index-fields.xsl 2012-03-07 09:47:29 UTC (rev 8774) @@ -390,29 +390,23 @@ <xsl:template match="*" mode="latLon"> <xsl:variable name="format" select="'##.00'"></xsl:variable> - <xsl:for-each select="gmd:westBoundLongitude"> - <xsl:if test="number(gco:Decimal)"> - <Field name="westBL" string="{format-number(gco:Decimal, $format)}" store="true" index="true"/> - </xsl:if> - </xsl:for-each> - - <xsl:for-each select="gmd:southBoundLatitude"> - <xsl:if test="number(gco:Decimal)"> - <Field name="southBL" string="{format-number(gco:Decimal, $format)}" store="true" index="true"/> - </xsl:if> - </xsl:for-each> - - <xsl:for-each select="gmd:eastBoundLongitude"> - <xsl:if test="number(gco:Decimal)"> - <Field name="eastBL" string="{format-number(gco:Decimal, $format)}" store="true" index="true"/> - </xsl:if> - </xsl:for-each> - - <xsl:for-each select="gmd:northBoundLatitude"> - <xsl:if test="number(gco:Decimal)"> - <Field name="northBL" string="{format-number(gco:Decimal, $format)}" store="true" index="true"/> - </xsl:if> - </xsl:for-each> + <xsl:if test="number(gmd:westBoundLongitude/gco:Decimal) + and number(gmd:southBoundLatitude/gco:Decimal) + and number(gmd:eastBoundLongitude/gco:Decimal) + and number(gmd:northBoundLatitude/gco:Decimal) + "> + <Field name="westBL" string="{format-number(gmd:westBoundLongitude/gco:Decimal, $format)}" store="false" index="true"/> + <Field name="southBL" string="{format-number(gmd:southBoundLatitude/gco:Decimal, $format)}" store="false" index="true"/> + + <Field name="eastBL" string="{format-number(gmd:eastBoundLongitude/gco:Decimal, $format)}" store="false" index="true"/> + <Field name="northBL" string="{format-number(gmd:northBoundLatitude/gco:Decimal, $format)}" store="false" index="true"/> + + <Field name="geoBox" string="{concat(gmd:westBoundLongitude/gco:Decimal, '|', + gmd:southBoundLatitude/gco:Decimal, '|', + gmd:eastBoundLongitude/gco:Decimal, '|', + gmd:northBoundLatitude/gco:Decimal + )}" store="true" index="false"/> + </xsl:if> </xsl:template> <!-- ========================================================================================= --> Modified: schemaPlugins/trunk/iso19139.mcp-1.4/index-fields.xsl =================================================================== --- schemaPlugins/trunk/iso19139.mcp-1.4/index-fields.xsl 2012-03-07 04:32:07 UTC (rev 8773) +++ schemaPlugins/trunk/iso19139.mcp-1.4/index-fields.xsl 2012-03-07 09:47:29 UTC (rev 8774) @@ -374,29 +374,23 @@ <xsl:template match="*" mode="latLon"> <xsl:variable name="format" select="'##.00'"></xsl:variable> - <xsl:for-each select="gmd:westBoundLongitude"> - <xsl:if test="number(gco:Decimal)"> - <Field name="westBL" string="{format-number(gco:Decimal, $format)}" store="true" index="true"/> - </xsl:if> - </xsl:for-each> - - <xsl:for-each select="gmd:southBoundLatitude"> - <xsl:if test="number(gco:Decimal)"> - <Field name="southBL" string="{format-number(gco:Decimal, $format)}" store="true" index="true"/> - </xsl:if> - </xsl:for-each> - - <xsl:for-each select="gmd:eastBoundLongitude"> - <xsl:if test="number(gco:Decimal)"> - <Field name="eastBL" string="{format-number(gco:Decimal, $format)}" store="true" index="true"/> - </xsl:if> - </xsl:for-each> - - <xsl:for-each select="gmd:northBoundLatitude"> - <xsl:if test="number(gco:Decimal)"> - <Field name="northBL" string="{format-number(gco:Decimal, $format)}" store="true" index="true"/> - </xsl:if> - </xsl:for-each> + <xsl:if test="number(gmd:westBoundLongitude/gco:Decimal) + and number(gmd:southBoundLatitude/gco:Decimal) + and number(gmd:eastBoundLongitude/gco:Decimal) + and number(gmd:northBoundLatitude/gco:Decimal) + "> + <Field name="westBL" string="{format-number(gmd:westBoundLongitude/gco:Decimal, $format)}" store="false" index="true"/> + <Field name="southBL" string="{format-number(gmd:southBoundLatitude/gco:Decimal, $format)}" store="false" index="true"/> + + <Field name="eastBL" string="{format-number(gmd:eastBoundLongitude/gco:Decimal, $format)}" store="false" index="true"/> + <Field name="northBL" string="{format-number(gmd:northBoundLatitude/gco:Decimal, $format)}" store="false" index="true"/> + + <Field name="geoBox" string="{concat(gmd:westBoundLongitude/gco:Decimal, '|', + gmd:southBoundLatitude/gco:Decimal, '|', + gmd:eastBoundLongitude/gco:Decimal, '|', + gmd:northBoundLatitude/gco:Decimal + )}" store="true" index="false"/> + </xsl:if> </xsl:template> <!-- ========================================================================================= --> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <sp...@us...> - 2012-03-29 07:21:44
|
Revision: 8934 http://geonetwork.svn.sourceforge.net/geonetwork/?rev=8934&view=rev Author: sppigot Date: 2012-03-29 07:21:38 +0000 (Thu, 29 Mar 2012) Log Message: ----------- Changes to CI_Responsibility additions to MCP experimental Remove experimental element indexing from MCP-1.4 as not needed there Modified Paths: -------------- schemaPlugins/trunk/iso19139.mcp/index-fields.xsl schemaPlugins/trunk/iso19139.mcp-1.4/index-fields.xsl Modified: schemaPlugins/trunk/iso19139.mcp/index-fields.xsl =================================================================== --- schemaPlugins/trunk/iso19139.mcp/index-fields.xsl 2012-03-29 04:36:46 UTC (rev 8933) +++ schemaPlugins/trunk/iso19139.mcp/index-fields.xsl 2012-03-29 07:21:38 UTC (rev 8934) @@ -194,20 +194,27 @@ <Field name="keywordType" string="{string(.)}" store="true" index="true"/> </xsl:for-each> - <xsl:for-each select="gmd:type/gmd:MD_KeywordTypeCode/@codeListValue"> - <Field name="keywordType" string="{string(.)}" store="true" index="true"/> - </xsl:for-each> - <xsl:for-each select="gmd:thesaurusName/*[starts-with(@id,'geonetwork.thesaurus')]"> <Field name="keywordThesaurus" string="{string(@id)}" store="true" index="true"/> </xsl:for-each> + </xsl:for-each> + + <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> + + <xsl:for-each select="mcp:resourceContactInfo/mcp:CI_Responsibility//mcp:party/mcp:CI_Organisation/mcp:name/gco:CharacterString"> + <xsl:variable name="org" select="string(.)"/> + <Field name="orgName" string="{$org}" store="true" index="true"/> + <xsl:variable name="logo" select="../..//gmx:FileName/@src"/> + <xsl:for-each select="../../../../mcp:role/*/@codeListValue"> + <Field name="responsibleParty" string="{concat(., '|resource|', $org, '|', $logo)}" store="true" index="false"/> + </xsl:for-each> </xsl:for-each> - + <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> - <xsl:for-each select="gmd:pointOfContact/gmd:CI_ResponsibleParty/gmd:organisationName/gco:CharacterString|mcp:resourceContactInfo/mcp:CI_Responsibility//mcp:party/mcp:CI_Organisation/mcp:name/gco:CharacterString"> + <xsl:for-each select="gmd:pointOfContact/gmd:CI_ResponsibleParty/gmd:organisationName/gco:CharacterString"> <Field name="orgName" string="{string(.)}" store="true" index="true"/> <xsl:variable name="role" select="../../gmd:role/*/@codeListValue"/> @@ -461,7 +468,20 @@ <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> - <xsl:for-each select="gmd:contact/gmd:CI_ResponsibleParty/gmd:organisationName/gco:CharacterString|mcp:metadataContactInfo/mcp:CI_Responsibility/mcp:party/mcp:CI_Organisation/mcp:name/gco:CharacterString"> + <xsl:for-each select="mcp:metadataContactInfo/mcp:CI_Responsibility/mcp:party/mcp:CI_Organisation/mcp:name/gco:CharacterString"> + <xsl:variable name="org" select="."/> + + <Field name="metadataPOC" string="{$org}" store="true" index="true"/> + + <xsl:variable name="logo" select="../..//gmx:FileName/@src"/> + <xsl:for-each select="../../../../mcp:role/*/@codeListValue"> + <Field name="responsibleParty" string="{concat(., '|metadata|', $org, '|', $logo)}" store="true" index="false"/> + </xsl:for-each> + </xsl:for-each> + + <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> + + <xsl:for-each select="gmd:contact/gmd:CI_ResponsibleParty/gmd:organisationName/gco:CharacterString"> <Field name="metadataPOC" string="{string(.)}" store="true" index="true"/> <xsl:variable name="role" select="../../gmd:role/*/@codeListValue"/> <xsl:variable name="logo" select="../..//gmx:FileName/@src"/> Modified: schemaPlugins/trunk/iso19139.mcp-1.4/index-fields.xsl =================================================================== --- schemaPlugins/trunk/iso19139.mcp-1.4/index-fields.xsl 2012-03-29 04:36:46 UTC (rev 8933) +++ schemaPlugins/trunk/iso19139.mcp-1.4/index-fields.xsl 2012-03-29 07:21:38 UTC (rev 8934) @@ -163,32 +163,6 @@ </xsl:for-each> </xsl:for-each> - - <xsl:for-each select="mcp:taxonomicElement/*/mcp:taxonConcepts/app:documents/TaxonConcept|mcp:taxonomicElement/*/mcp:taxonConcepts/app:documents/TaxonName"> - <Field name="taxonGenus" string="{string(Genus)}" store="true" index="true"/> - <Field name="taxonEpithet" string="{string(SpecificEpithet)}" store="true" index="true"/> - <Field name="taxonCode" string="{string(NomenclaturalCode)}" store="true" index="true"/> - <Field name="taxonPub" string="{string(PublicationRef)}" store="true" index="true"/> - - <!-- index both complete name and lsid of this species --> - <Field name="taxon" string="{string(NameComplete)}" store="true" index="true"/> - <Field name="taxon" string="{string(@id)}" store="true" index="true"/> - - <!-- Also index all synonyms and their lsids from this record so - that searches on synonyms will also pick up this record --> - <xsl:for-each select="AcceptedFor/AcceptedForNameRef"> - <xsl:variable name="complete" select="normalize-space(ibis:NameComplete)"/> - <xsl:if test="$complete!=''"> - <Field name="taxon" string="{$complete}" store="true" index="true"/> - </xsl:if> - <xsl:variable name="ibisId" select="normalize-space(@ibis:objectidRef)"/> - <xsl:if test="$ibisId!=''"> - <Field name="taxon" string="{concat('urn:lsid:biodiversity.org.au:apni.taxon:',$ibisId)}" store="true" index="true"/> - </xsl:if> - </xsl:for-each> - - </xsl:for-each> - </xsl:for-each> <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> @@ -203,15 +177,9 @@ <Field name="keywordType" string="{string(.)}" store="true" index="true"/> </xsl:for-each> - <xsl:for-each select="gmd:type/gmd:MD_KeywordTypeCode/@codeListValue"> - <Field name="keywordType" string="{string(.)}" store="true" index="true"/> - </xsl:for-each> - <xsl:for-each select="gmd:thesaurusName/*[starts-with(@id,'geonetwork.thesaurus')]"> <Field name="keywordThesaurus" string="{string(@id)}" store="true" index="true"/> </xsl:for-each> - - </xsl:for-each> <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <sp...@us...> - 2012-03-29 09:35:47
|
Revision: 8942 http://geonetwork.svn.sourceforge.net/geonetwork/?rev=8942&view=rev Author: sppigot Date: 2012-03-29 09:35:41 +0000 (Thu, 29 Mar 2012) Log Message: ----------- Update anzmeta indexing to include details of organisation etc Modified Paths: -------------- schemaPlugins/trunk/anzmeta/index-fields.xsl schemaPlugins/trunk/iso19139.mcp/index-fields.xsl schemaPlugins/trunk/iso19139.mcp-1.4/index-fields.xsl Modified: schemaPlugins/trunk/anzmeta/index-fields.xsl =================================================================== --- schemaPlugins/trunk/anzmeta/index-fields.xsl 2012-03-29 09:34:29 UTC (rev 8941) +++ schemaPlugins/trunk/anzmeta/index-fields.xsl 2012-03-29 09:35:41 UTC (rev 8942) @@ -15,8 +15,12 @@ <!-- ========================================================================================= --> <xsl:template match="/"> - <Document> - + <Document locale="eng"> + <Field name="_locale" string="eng" store="true" index="true"/> + <Field name="_docLocale" string="eng" store="true" index="true"/> + + <Field name="_defaultTitle" string="{/anzmeta/citeinfo/title}" store="true" index="true"/> + <xsl:apply-templates select="/anzmeta/citeinfo/title"> <xsl:with-param name="token" select="'true'"/> <xsl:with-param name="store" select="'true'"/> @@ -43,10 +47,22 @@ <Field name="any" store="false" index="true"> <xsl:attribute name="string"> - <xsl:apply-templates select="/anzmeta" mode="allText"/> + <xsl:value-of select="normalize-space(string(/anzmeta))"/> + <xsl:text> </xsl:text> + <xsl:for-each select="@*"><xsl:value-of select="concat(string(.),' ')"/></xsl:for-each> </xsl:attribute> </Field> + <!-- contact info --> + <xsl:for-each select="/anzmeta/cntinfo"> + <Field name="metadataPOC" string="{cntorg}" store="false" index="true"/> + <Field name="orgName" string="{cntorg}" store="false" index="true"/> + + <Field name="responsibleParty" string="{concat('contact|metadata|',cntorg,'|')}" store="true" index="false"/> + + <Field name="responsibleParty" string="{concat('contact|resource|',cntorg,'|')}" store="true" index="false"/> + </xsl:for-each> + <!-- digital data format --> <xsl:if test="/anzmeta/distinfo/native/digform"> <Field name="digital" string="true" store="false" index="true"/> @@ -92,14 +108,5 @@ </xsl:template> <!-- ========================================================================================= --> - - <!--allText --> - <xsl:template match="*" mode="allText"> - <xsl:for-each select="@*"><xsl:value-of select="concat(string(.),' ')"/></xsl:for-each> - <xsl:choose> - <xsl:when test="*"><xsl:apply-templates select="*" mode="allText"/></xsl:when> - <xsl:otherwise><xsl:value-of select="concat(string(.),' ')"/></xsl:otherwise> - </xsl:choose> - </xsl:template> </xsl:stylesheet> Modified: schemaPlugins/trunk/iso19139.mcp/index-fields.xsl =================================================================== --- schemaPlugins/trunk/iso19139.mcp/index-fields.xsl 2012-03-29 09:34:29 UTC (rev 8941) +++ schemaPlugins/trunk/iso19139.mcp/index-fields.xsl 2012-03-29 09:35:41 UTC (rev 8942) @@ -36,10 +36,8 @@ </xsl:variable> <Document locale="{$isoLangId}"> - <Field name="_locale" string="{$isoLangId}" store="true" index="true" token="false"/> - - <Field name="_docLocale" string="{$isoLangId}" store="true" index="true" token="false"/> - + <Field name="_locale" string="{$isoLangId}" store="true" index="true"/> + <Field name="_docLocale" string="{$isoLangId}" store="true" index="true"/> <xsl:variable name="_defaultTitle"> <xsl:call-template name="defaultTitle"> <xsl:with-param name="isoDocLangId" select="$isoLangId"/> Modified: schemaPlugins/trunk/iso19139.mcp-1.4/index-fields.xsl =================================================================== --- schemaPlugins/trunk/iso19139.mcp-1.4/index-fields.xsl 2012-03-29 09:34:29 UTC (rev 8941) +++ schemaPlugins/trunk/iso19139.mcp-1.4/index-fields.xsl 2012-03-29 09:35:41 UTC (rev 8942) @@ -36,10 +36,9 @@ </xsl:variable> <Document locale="{$isoLangId}"> - <Field name="_locale" string="{$isoLangId}" store="true" index="true" token="false"/> + <Field name="_locale" string="{$isoLangId}" store="true" index="true"/> + <Field name="_docLocale" string="{$isoLangId}" store="true" index="true"/> - <Field name="_docLocale" string="{$isoLangId}" store="true" index="true" token="false"/> - <xsl:variable name="_defaultTitle"> <xsl:call-template name="defaultTitle"> <xsl:with-param name="isoDocLangId" select="$isoLangId"/> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <sp...@us...> - 2012-04-04 08:30:28
|
Revision: 8972 http://geonetwork.svn.sourceforge.net/geonetwork/?rev=8972&view=rev Author: sppigot Date: 2012-04-04 08:30:17 +0000 (Wed, 04 Apr 2012) Log Message: ----------- Prepare for dependency checking Modified Paths: -------------- schemaPlugins/trunk/iso19139.anzlic/schema-ident.xml schemaPlugins/trunk/iso19139.mcp/schema-ident.xml schemaPlugins/trunk/iso19139.mcp-1.4/schema-ident.xml Modified: schemaPlugins/trunk/iso19139.anzlic/schema-ident.xml =================================================================== --- schemaPlugins/trunk/iso19139.anzlic/schema-ident.xml 2012-04-04 08:15:46 UTC (rev 8971) +++ schemaPlugins/trunk/iso19139.anzlic/schema-ident.xml 2012-04-04 08:30:17 UTC (rev 8972) @@ -3,6 +3,7 @@ <name>iso19139.anzlic</name> <id>42e2724c-ddda-11df-a6c5-001c2346de4c</id> <version>1.1</version> + <depends>iso19139</depends> <schemaLocation>http://www.isotc211.org/2005/gmd http://www.isotc211.org/2005/gmd/gmd.xsd http://www.isotc211.org/2005/srv http://schemas.opengis.net/iso/19139/20060504/srv/srv.xsd</schemaLocation> <autodetect xmlns:gmd="http://www.isotc211.org/2005/gmd" xmlns:gco="http://www.isotc211.org/2005/gco"> <elements> Modified: schemaPlugins/trunk/iso19139.mcp/schema-ident.xml =================================================================== --- schemaPlugins/trunk/iso19139.mcp/schema-ident.xml 2012-04-04 08:15:46 UTC (rev 8971) +++ schemaPlugins/trunk/iso19139.mcp/schema-ident.xml 2012-04-04 08:30:17 UTC (rev 8972) @@ -3,6 +3,7 @@ <name>iso19139.mcp</name> <id>19c9a2b2-dddb-11df-9df4-001c2346de4c</id> <version>1.5</version> + <depends>iso19139</depends> <schemaLocation>http://bluenet3.antcrc.utas.edu.au/mcp http://bluenet3.antcrc.utas.edu.au/mcp-1.5-experimental/schema.xsd http://www.isotc211.org/2005/gmd http://www.isotc211.org/2005/gmd/gmd.xsd http://www.isotc211.org/2005/srv http://schemas.opengis.net/iso/19139/20060504/srv/srv.xsd</schemaLocation> <autodetect xmlns:mcp="http://bluenet3.antcrc.utas.edu.au/mcp" xmlns:gmd="http://www.isotc211.org/2005/gmd" xmlns:gco="http://www.isotc211.org/2005/gco"> <!-- catch all MCP records as 1.5 since all versions since 1.3 are Modified: schemaPlugins/trunk/iso19139.mcp-1.4/schema-ident.xml =================================================================== --- schemaPlugins/trunk/iso19139.mcp-1.4/schema-ident.xml 2012-04-04 08:15:46 UTC (rev 8971) +++ schemaPlugins/trunk/iso19139.mcp-1.4/schema-ident.xml 2012-04-04 08:30:17 UTC (rev 8972) @@ -3,6 +3,8 @@ <name>iso19139.mcp-1.4</name> <id>ad5525c0-ddda-11df-a981-001c2346de4c</id> <version>1.4</version> + <depends>iso19139</depends> + <depends>iso19139.mcp</depends> <schemaLocation>http://bluenet3.antcrc.utas.edu.au/mcp http://bluenet3.antcrc.utas.edu.au/mcp-1.4/schema.xsd http://www.isotc211.org/2005/gmd http://www.isotc211.org/2005/gmd/gmd.xsd http://www.isotc211.org/2005/srv http://schemas.opengis.net/iso/19139/20060504/srv/srv.xsd</schemaLocation> <autodetect xmlns:mcp="http://bluenet3.antcrc.utas.edu.au/mcp" xmlns:gmd="http://www.isotc211.org/2005/gmd" xmlns:gco="http://www.isotc211.org/2005/gco"> <elements> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <sp...@us...> - 2012-04-11 15:07:28
|
Revision: 8988 http://geonetwork.svn.sourceforge.net/geonetwork/?rev=8988&view=rev Author: sppigot Date: 2012-04-11 15:07:18 +0000 (Wed, 11 Apr 2012) Log Message: ----------- Reuse functions from iso19139 now that all schemas are in the same place Modified Paths: -------------- schemaPlugins/trunk/iso19139.anzlic/index-fields.xsl schemaPlugins/trunk/iso19139.mcp/index-fields.xsl schemaPlugins/trunk/iso19139.mcp-1.4/index-fields.xsl schemaPlugins/trunk/iso19139.mcp-1.4/present/metadata-iso19139.mcp-1.4.xsl Modified: schemaPlugins/trunk/iso19139.anzlic/index-fields.xsl =================================================================== --- schemaPlugins/trunk/iso19139.anzlic/index-fields.xsl 2012-04-11 14:29:34 UTC (rev 8987) +++ schemaPlugins/trunk/iso19139.anzlic/index-fields.xsl 2012-04-11 15:07:18 UTC (rev 8988) @@ -8,7 +8,7 @@ xmlns:gmx="http://www.isotc211.org/2005/gmx" xmlns:skos="http://www.w3.org/2004/02/skos/core#"> - <xsl:include href="iso19139/convert/functions.xsl"/> + <xsl:include href="../iso19139/convert/functions.xsl"/> <xsl:include href="../../../xsl/utils-fn.xsl"/> <!-- This file defines what parts of the metadata are indexed by Lucene Modified: schemaPlugins/trunk/iso19139.mcp/index-fields.xsl =================================================================== --- schemaPlugins/trunk/iso19139.mcp/index-fields.xsl 2012-04-11 14:29:34 UTC (rev 8987) +++ schemaPlugins/trunk/iso19139.mcp/index-fields.xsl 2012-04-11 15:07:18 UTC (rev 8988) @@ -14,7 +14,7 @@ <xsl:param name="datadir"/> - <xsl:include href="iso19139/convert/functions.xsl"/> + <xsl:include href="../iso19139/convert/functions.xsl"/> <xsl:include href="../../../xsl/utils-fn.xsl"/> <!-- This file defines what parts of the metadata are indexed by Lucene Modified: schemaPlugins/trunk/iso19139.mcp-1.4/index-fields.xsl =================================================================== --- schemaPlugins/trunk/iso19139.mcp-1.4/index-fields.xsl 2012-04-11 14:29:34 UTC (rev 8987) +++ schemaPlugins/trunk/iso19139.mcp-1.4/index-fields.xsl 2012-04-11 15:07:18 UTC (rev 8988) @@ -14,7 +14,7 @@ <xsl:param name="datadir"/> - <xsl:include href="iso19139/convert/functions.xsl"/> + <xsl:include href="../iso19139/convert/functions.xsl"/> <xsl:include href="../../../xsl/utils-fn.xsl"/> <!-- This file defines what parts of the metadata are indexed by Lucene Modified: schemaPlugins/trunk/iso19139.mcp-1.4/present/metadata-iso19139.mcp-1.4.xsl =================================================================== --- schemaPlugins/trunk/iso19139.mcp-1.4/present/metadata-iso19139.mcp-1.4.xsl 2012-04-11 14:29:34 UTC (rev 8987) +++ schemaPlugins/trunk/iso19139.mcp-1.4/present/metadata-iso19139.mcp-1.4.xsl 2012-04-11 15:07:18 UTC (rev 8988) @@ -212,6 +212,8 @@ <!-- =================================================================== --> <!-- === Javascript used by functions in this presentation XSLT --> <!-- =================================================================== --> - <xsl:template name="iso19139.mcp-1.4-javascript"/> + <xsl:template name="iso19139.mcp-1.4-javascript"> + <xsl:call-template name="iso19139.mcp-javascript"/> + </xsl:template> </xsl:stylesheet> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <sp...@us...> - 2012-04-12 10:18:13
|
Revision: 8995 http://geonetwork.svn.sourceforge.net/geonetwork/?rev=8995&view=rev Author: sppigot Date: 2012-04-12 10:18:06 +0000 (Thu, 12 Apr 2012) Log Message: ----------- Adjustments for combined schema plugin handling Modified Paths: -------------- schemaPlugins/trunk/iso19139.anzlic/update-fixed-info.xsl schemaPlugins/trunk/iso19139.mcp/update-fixed-info.xsl schemaPlugins/trunk/iso19139.mcp-1.4/update-fixed-info.xsl Removed Paths: ------------- schemaPlugins/trunk/iso19139.anzlic/convert/functions.xsl Deleted: schemaPlugins/trunk/iso19139.anzlic/convert/functions.xsl =================================================================== --- schemaPlugins/trunk/iso19139.anzlic/convert/functions.xsl 2012-04-12 08:43:35 UTC (rev 8994) +++ schemaPlugins/trunk/iso19139.anzlic/convert/functions.xsl 2012-04-12 10:18:06 UTC (rev 8995) @@ -1,96 +0,0 @@ -<xsl:stylesheet version="2.0" xmlns:gmd="http://www.isotc211.org/2005/gmd" - xmlns:gco="http://www.isotc211.org/2005/gco" - xmlns:gml="http://www.opengis.net/gml" - xmlns:srv="http://www.isotc211.org/2005/srv" - xmlns:ADO="http://www.defence.gov.au/ADO_DM_MDP" - xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - xmlns:date="http://exslt.org/dates-and-times" - xmlns:joda="java:org.fao.geonet.util.JODAISODate" - xmlns:mime="java:org.fao.geonet.util.MimeTypeFinder"> - - <!-- ================================================================== --> - - <xsl:template name="fixSingle"> - <xsl:param name="value"/> - - <xsl:choose> - <xsl:when test="string-length(string($value))=1"> - <xsl:value-of select="concat('0',$value)"/> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="$value"/> - </xsl:otherwise> - </xsl:choose> - </xsl:template> - - <!-- ================================================================== --> - - <xsl:template name="getMimeTypeFile"> - <xsl:param name="datadir"/> - <xsl:param name="fname"/> - <xsl:value-of select="mime:detectMimeTypeFile($datadir,$fname)"/> - </xsl:template> - -<!-- ==================================================================== --> - - <xsl:template name="getMimeTypeUrl"> - <xsl:param name="linkage"/> - <xsl:value-of select="mime:detectMimeTypeUrl($linkage)"/> - </xsl:template> - -<!-- ==================================================================== --> - <xsl:template name="fixNonIso"> - <xsl:param name="value"/> - - <xsl:variable name="now" select="date:date-time()"/> - <xsl:choose> - <xsl:when test="$value='' or lower-case($value)='unknown' or lower-case($value)='current' or lower-case($value)='now'"> - <xsl:variable name="miy" select="date:month-in-year($now)"/> - <xsl:variable name="month"> - <xsl:call-template name="fixSingle"> - <xsl:with-param name="value" select="$miy" /> - </xsl:call-template> - </xsl:variable> - <xsl:variable name="dim" select="date:day-in-month($now)"/> - <xsl:variable name="day"> - <xsl:call-template name="fixSingle"> - <xsl:with-param name="value" select="$dim" /> - </xsl:call-template> - </xsl:variable> - <xsl:value-of select="concat(date:year($now),'-',$month,'-',$day,'T23:59:59')"/> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="$value"/> - </xsl:otherwise> - </xsl:choose> - </xsl:template> - -<!-- ==================================================================== --> - - <xsl:template name="newGmlTime"> - <xsl:param name="begin"/> - <xsl:param name="end"/> - - - <xsl:variable name="value1"> - <xsl:call-template name="fixNonIso"> - <xsl:with-param name="value" select="normalize-space($begin)"/> - </xsl:call-template> - </xsl:variable> - - <xsl:variable name="value2"> - <xsl:call-template name="fixNonIso"> - <xsl:with-param name="value" select="normalize-space($end)"/> - </xsl:call-template> - </xsl:variable> - - <!-- must be a full ISODateTimeFormat - so parse it and make sure it is - returned as a long format using the joda Java Time library --> - <xsl:variable name="output" select="joda:parseISODateTimes($value1,$value2)"/> - <xsl:value-of select="$output"/> - - </xsl:template> - - <!-- ================================================================== --> - -</xsl:stylesheet> Modified: schemaPlugins/trunk/iso19139.anzlic/update-fixed-info.xsl =================================================================== --- schemaPlugins/trunk/iso19139.anzlic/update-fixed-info.xsl 2012-04-12 08:43:35 UTC (rev 8994) +++ schemaPlugins/trunk/iso19139.anzlic/update-fixed-info.xsl 2012-04-12 10:18:06 UTC (rev 8995) @@ -9,7 +9,7 @@ xmlns:gmd="http://www.isotc211.org/2005/gmd" exclude-result-prefixes="gmd"> - <xsl:include href="convert/functions.xsl"/> + <xsl:include href="../iso19139/convert/functions.xsl"/> <xsl:variable name="metadataStandardName" select="'ANZLIC Metadata Profile: An Australian/New Zealand Profile of AS/NZS ISO 19115:2005, Geographic information - Metadata'"/> <xsl:variable name="metadataStandardVersion" select="'1.1'"/> Modified: schemaPlugins/trunk/iso19139.mcp/update-fixed-info.xsl =================================================================== --- schemaPlugins/trunk/iso19139.mcp/update-fixed-info.xsl 2012-04-12 08:43:35 UTC (rev 8994) +++ schemaPlugins/trunk/iso19139.mcp/update-fixed-info.xsl 2012-04-12 10:18:06 UTC (rev 8995) @@ -10,7 +10,7 @@ xmlns:mcp="http://bluenet3.antcrc.utas.edu.au/mcp" xmlns:gmd="http://www.isotc211.org/2005/gmd"> - <xsl:include href="convert/functions.xsl"/> + <xsl:include href="../iso19139/convert/functions.xsl"/> <xsl:variable name="metadataStandardName" select="'Australian Marine Community Profile of ISO 19115:2005/19139'"/> <xsl:variable name="metadataStandardVersion" select="'MCP:BlueNet V1.5'"/> Modified: schemaPlugins/trunk/iso19139.mcp-1.4/update-fixed-info.xsl =================================================================== --- schemaPlugins/trunk/iso19139.mcp-1.4/update-fixed-info.xsl 2012-04-12 08:43:35 UTC (rev 8994) +++ schemaPlugins/trunk/iso19139.mcp-1.4/update-fixed-info.xsl 2012-04-12 10:18:06 UTC (rev 8995) @@ -10,7 +10,7 @@ xmlns:mcp="http://bluenet3.antcrc.utas.edu.au/mcp" xmlns:gmd="http://www.isotc211.org/2005/gmd"> - <xsl:include href="convert/functions.xsl"/> + <xsl:include href="../iso19139/convert/functions.xsl"/> <xsl:variable name="metadataStandardName" select="'Australian Marine Community Profile of ISO 19115:2005/19139'"/> <xsl:variable name="metadataStandardVersion" select="'1.4'"/> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <sp...@us...> - 2012-04-13 07:02:26
|
Revision: 9009 http://geonetwork.svn.sourceforge.net/geonetwork/?rev=9009&view=rev Author: sppigot Date: 2012-04-13 07:02:18 +0000 (Fri, 13 Apr 2012) Log Message: ----------- Codelists extended from base schema for ANZLIC + MCP Modified Paths: -------------- schemaPlugins/trunk/iso19139.mcp/loc/eng/codelists.xml schemaPlugins/trunk/iso19139.mcp-1.4/loc/eng/codelists.xml Modified: schemaPlugins/trunk/iso19139.mcp/loc/eng/codelists.xml =================================================================== --- schemaPlugins/trunk/iso19139.mcp/loc/eng/codelists.xml 2012-04-13 01:52:31 UTC (rev 9008) +++ schemaPlugins/trunk/iso19139.mcp/loc/eng/codelists.xml 2012-04-13 07:02:18 UTC (rev 9009) @@ -1,8 +1,532 @@ <?xml version="1.0" encoding="UTF-8"?> +<!-- + + * Hide in edit mode : If some codelist needs to be hidden + in edit mode, the hideInEditMode attribute could be added + to any entries. + + eg. + <entry hideInEditMode="true"> + + This will restrict the number of available entries for end + user editors and keep all records ISO compatible when using + codelist (eg. harvested records could use codelist hidden + in local node and needs to be displayed in view mode). + + By default, this attribute is not used. +--> +<codelists xmlns:gmd="http://www.isotc211.org/2005/gmd"> + <!-- ==================================================== --> + <codelist name="gmd:MD_ScopeCode"> + <entry> + <code>attribute</code> + <label>Attribute</label> + <description>Information applies to the attribute class</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>attributeType</code> + <label>Attribute type</label> + <description>Information applies to the characteristic of a feature</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>collectionHardware</code> + <label>Collection hardware</label> + <description>Information applies to the collection hardware class</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>collectionSession</code> + <label>Collection session</label> + <description>Information applies to the collection session</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>dataset</code> + <label>Dataset</label> + <description>Information applies to the dataset</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>series</code> + <label>Series</label> + <description>Information applies to the series</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>nonGeographicDataset</code> + <label>Non geographic dataset</label> + <description>Information applies to non-geographic data</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>dimensionGroup</code> + <label>Dimension group</label> + <description>Information applies to a dimension group</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>feature</code> + <label>Feature</label> + <description>Information applies to a feature</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>featureType</code> + <label>Feature type</label> + <description>Information applies to a feature type</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>propertyType</code> + <label>Property type</label> + <description>Information applies to a property type</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>fieldSession</code> + <label>Field session</label> + <description>Information applies to a field session</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>software</code> + <label>Software</label> + <description>Information applies to a computer program or routine</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>service</code> + <label>Service</label> + <description>Information applies to a capability which a service provider entity makes available to a service user entity through a set of interfaces that define a behaviour, such as a use case</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>model</code> + <label>Model</label> + <description>Information applies to a copy or imitation of an existing or hypothetical object</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>tile</code> + <label>Tile</label> + <description>Information applies to a tile, a spatial subset of geographic data</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <!-- new scope codes from GA --> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>modelSession</code> + <label>Model Session</label> + <description>Information applies to a model session or model run for a particular model</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>document</code> + <label>Document</label> + <description>Information applies to a document such as a publication, report, record etc.</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>profile</code> + <label>Profile</label> + <description>Information applies to a profile of an ISO TC 211 standard or specification</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>dataRepository</code> + <label>Data Repository</label> + <description>Information applies to a data repository such as a Catalogue Service, Relational Database, Web Registry</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>codeList</code> + <label>Code List</label> + <description>Information applies to a code list according to the CT_CodelistCatalogue format</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>project</code> + <label>Project</label> + <description>Information applies to a project or programme</description> + </entry> + <!-- MCP --> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>observed</code> + <label>Observed</label> + <description>Information applies to observed data</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>derived</code> + <label>Derived</label> + <description>Information applies to derived data</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>publication</code> + <label>Publication</label> + <description>Information applies to publications</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>dataObject</code> + <label>Data Object</label> + <description>Information applies to data objects</description> + </entry> + </codelist> + <!-- ==================================================== --> + <codelist name="gmd:CI_DateTypeCode"> + <entry> + <code>creation</code> + <label>Creation</label> + <description>Date identifies when the resource was brought into existence</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>publication</code> + <label>Publication</label> + <description>Date identifies when the resource was issued</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>revision</code> + <label>Revision</label> + <description>Date identifies when the resource was examined or re-examined and improved or amended</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <!-- MCP --> + <entry> + <code>unknown</code> + <label>Unknown</label> + <description>It is unknown what the date identifies</description> + </entry> + </codelist> + <!-- ==================================================== --> + <codelist name="gmd:CI_RoleCode"> + <entry> + <code>resourceProvider</code> + <label>Resource provider</label> + <description>Party that supplies the resource</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>custodian</code> + <label>Custodian</label> + <description>Party that accepts accountability and responsability for the data and ensures appropriate care and maintenance of the resource</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>owner</code> + <label>Owner</label> + <description>Party that owns the resource</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>user</code> + <label>User</label> + <description>Party who uses the resource</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>distributor</code> + <label>Distributor</label> + <description>Party who distributes the resource</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>originator</code> + <label>Originator</label> + <description>Party who created the resource</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>pointOfContact</code> + <label>Point of contact</label> + <description>Party who can be contacted for acquiring knowledge about or acquisition of the resource</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>principalInvestigator</code> + <label>Principal investigator</label> + <description>Key party responsible for gathering information and conducting research</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>processor</code> + <label>Processor</label> + <description>Party wha has processed the data in a manner such that the resource has been modified</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>publisher</code> + <label>Publisher</label> + <description>Party who published the resource</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>author</code> + <label>Author</label> + <description>Party who authored the resource</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <!-- MCP --> + <entry> + <code>coInvestigator</code> + <label>Co-investigator</label> + <description>One of the key parties responsible for gathering information and conducting research</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>researchAssistant</code> + <label>Research assistant</label> + <description>Party who helped gather information and conduct research</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>licensor</code> + <label>Licensor</label> + <description>Party responsible for licensing</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>ipOwner</code> + <label>IP Owner</label> + <description>Party who owns the intellectual property</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>metadataContact</code> + <label>Metadata Contact</label> + <description>party who can be contacted about the metadata</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>moralRightsOwner</code> + <label>Moral Rights Owner</label> + <description>Party who owns the moral rights</description> + </entry> + </codelist> + <!-- ==================================================== --> + <codelist name="gmd:MD_KeywordTypeCode"> + <entry> + <code>discipline</code> + <label>Discipline</label> + <description>Keyword identifies a branch of instruction or specialized + learning</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>place</code> + <label>Place</label> + <description>Keyword identifies a location</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>stratum</code> + <label>Stratum</label> + <description>Keyword identifies the layer(s) of any deposited substance</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>temporal</code> + <label>Temporal</label> + <description>Keyword identifies a time period related to the dataset</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>theme</code> + <label>Theme</label> + <description>Keyword identifies a particular subject or topic</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <!-- MCP --> + <entry> + <code>taxon</code> + <label>Taxon</label> + <description>Keyword identifies a taxonomy</description> + </entry> + </codelist> + <!-- ==================================================== --> + <codelist name="gmd:MD_MaintenanceFrequencyCode"> + <entry> + <code>continual</code> + <label>Continual</label> + <description>Data is repeatedly and frequently updated</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>daily</code> + <label>Daily</label> + <description>Data is updated each day</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>weekly</code> + <label>Weekly</label> + <description>Data is updated on a weekly basis</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>fortnightly</code> + <label>Fortnightly</label> + <description>Data is updated every two weeks</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>monthly</code> + <label>Monthly</label> + <description>Data is updated each month</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>quarterly</code> + <label>Quarterly</label> + <description>Data is updated every three months</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>biannually</code> + <label>Biannually</label> + <description>Data is updated twice each year</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>annually</code> + <label>Annually</label> + <description>Data is updated every year</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>asNeeded</code> + <label>As needed</label> + <description>Data is updated as deemed necessary</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>irregular</code> + <label>Irregular</label> + <description>Data is updated in intervals that are uneven in duration</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>notPlanned</code> + <label>Not planned</label> + <description>There are no plans to update the data</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>unknown</code> + <label>Unknown</label> + <description>Frequency of maintenance for the data is not known</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <!-- MCP --> + <entry> + <code>hourly</code> + <label>Hourly</label> + <description>Data is updated hourly</description> + </entry> + </codelist> -<!-- codelists for the MCP are handled directly from - schema/resources/Codelist/gmxCodelists.xml to avoid duplicating - codelists by present/metadata-iso19139.mcp.xsl --> + <!-- MCP Specific Codelists --> -<codelists xmlns:gmd="http://www.isotc211.org/2005/gmd"> + <!-- ==================================================== --> + <codelist name="mcp:MD_CurrencyTypeCode"> + <entry> + <code>mostRecent</code> + <label>Most Recent</label> + <description>Resource currency is most recent</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>historical</code> + <label>Historical</label> + <description>Resource currency is historical</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>predicted</code> + <label>Predicted</label> + <description>Resource currency is predicted</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>unknown</code> + <label>Unknown</label> + <description>Resource currency is unknown</description> + </entry> + </codelist> + <!-- ==================================================== --> + <codelist name="mcp:MD_TemporalAggregationUnitCode"> + <entry> + <code>day</code> + <label>Day</label> + <description>Aggregation unit is day</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>multi-day</code> + <label>Multi-day</label> + <description>Aggregation unit is multi-day</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>week</code> + <label>Week</label> + <description>Aggregation unit is week</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>multi-week</code> + <label>Multi-week</label> + <description>Aggregation unit is multi-week</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>year</code> + <label>Year</label> + <description>Aggregation unit is year</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>multi-year</code> + <label>Multi-year</label> + <description>Aggregation unit is multi-year</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>none</code> + <label>None</label> + <description>Aggregation unit is none</description> + </entry> + </codelist> + <!-- ==================================================== --> + <codelist name="mcp:DP_TypeCode"> + <entry> + <code>shortName</code> + <label>Short Name</label> + <description>The short name by which the parameter or unit is known</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>longName</code> + <label>Long Name</label> + <description>The long name by which the parameter or unit is known</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>code</code> + <label>Code</label> + <description>The code by which the parameter or unit is known</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>other</code> + <label>Other</label> + <description>The parameter or unit is known by this name for some other reason</description> + </entry> + </codelist> </codelists> Modified: schemaPlugins/trunk/iso19139.mcp-1.4/loc/eng/codelists.xml =================================================================== --- schemaPlugins/trunk/iso19139.mcp-1.4/loc/eng/codelists.xml 2012-04-13 01:52:31 UTC (rev 9008) +++ schemaPlugins/trunk/iso19139.mcp-1.4/loc/eng/codelists.xml 2012-04-13 07:02:18 UTC (rev 9009) @@ -1,8 +1,532 @@ <?xml version="1.0" encoding="UTF-8"?> +<!-- + + * Hide in edit mode : If some codelist needs to be hidden + in edit mode, the hideInEditMode attribute could be added + to any entries. + + eg. + <entry hideInEditMode="true"> + + This will restrict the number of available entries for end + user editors and keep all records ISO compatible when using + codelist (eg. harvested records could use codelist hidden + in local node and needs to be displayed in view mode). + + By default, this attribute is not used. +--> +<codelists xmlns:gmd="http://www.isotc211.org/2005/gmd"> + <!-- ==================================================== --> + <codelist name="gmd:MD_ScopeCode"> + <entry> + <code>attribute</code> + <label>Attribute</label> + <description>Information applies to the attribute class</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>attributeType</code> + <label>Attribute type</label> + <description>Information applies to the characteristic of a feature</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>collectionHardware</code> + <label>Collection hardware</label> + <description>Information applies to the collection hardware class</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>collectionSession</code> + <label>Collection session</label> + <description>Information applies to the collection session</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>dataset</code> + <label>Dataset</label> + <description>Information applies to the dataset</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>series</code> + <label>Series</label> + <description>Information applies to the series</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>nonGeographicDataset</code> + <label>Non geographic dataset</label> + <description>Information applies to non-geographic data</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>dimensionGroup</code> + <label>Dimension group</label> + <description>Information applies to a dimension group</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>feature</code> + <label>Feature</label> + <description>Information applies to a feature</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>featureType</code> + <label>Feature type</label> + <description>Information applies to a feature type</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>propertyType</code> + <label>Property type</label> + <description>Information applies to a property type</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>fieldSession</code> + <label>Field session</label> + <description>Information applies to a field session</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>software</code> + <label>Software</label> + <description>Information applies to a computer program or routine</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>service</code> + <label>Service</label> + <description>Information applies to a capability which a service provider entity makes available to a service user entity through a set of interfaces that define a behaviour, such as a use case</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>model</code> + <label>Model</label> + <description>Information applies to a copy or imitation of an existing or hypothetical object</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>tile</code> + <label>Tile</label> + <description>Information applies to a tile, a spatial subset of geographic data</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <!-- new scope codes from GA --> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>modelSession</code> + <label>Model Session</label> + <description>Information applies to a model session or model run for a particular model</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>document</code> + <label>Document</label> + <description>Information applies to a document such as a publication, report, record etc.</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>profile</code> + <label>Profile</label> + <description>Information applies to a profile of an ISO TC 211 standard or specification</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>dataRepository</code> + <label>Data Repository</label> + <description>Information applies to a data repository such as a Catalogue Service, Relational Database, Web Registry</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>codeList</code> + <label>Code List</label> + <description>Information applies to a code list according to the CT_CodelistCatalogue format</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>project</code> + <label>Project</label> + <description>Information applies to a project or programme</description> + </entry> + <!-- MCP --> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>observed</code> + <label>Observed</label> + <description>Information applies to observed data</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>derived</code> + <label>Derived</label> + <description>Information applies to derived data</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>publication</code> + <label>Publication</label> + <description>Information applies to publications</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>dataObject</code> + <label>Data Object</label> + <description>Information applies to data objects</description> + </entry> + </codelist> + <!-- ==================================================== --> + <codelist name="gmd:CI_DateTypeCode"> + <entry> + <code>creation</code> + <label>Creation</label> + <description>Date identifies when the resource was brought into existence</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>publication</code> + <label>Publication</label> + <description>Date identifies when the resource was issued</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>revision</code> + <label>Revision</label> + <description>Date identifies when the resource was examined or re-examined and improved or amended</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <!-- MCP --> + <entry> + <code>unknown</code> + <label>Unknown</label> + <description>It is unknown what the date identifies</description> + </entry> + </codelist> + <!-- ==================================================== --> + <codelist name="gmd:CI_RoleCode"> + <entry> + <code>resourceProvider</code> + <label>Resource provider</label> + <description>Party that supplies the resource</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>custodian</code> + <label>Custodian</label> + <description>Party that accepts accountability and responsability for the data and ensures appropriate care and maintenance of the resource</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>owner</code> + <label>Owner</label> + <description>Party that owns the resource</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>user</code> + <label>User</label> + <description>Party who uses the resource</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>distributor</code> + <label>Distributor</label> + <description>Party who distributes the resource</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>originator</code> + <label>Originator</label> + <description>Party who created the resource</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>pointOfContact</code> + <label>Point of contact</label> + <description>Party who can be contacted for acquiring knowledge about or acquisition of the resource</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>principalInvestigator</code> + <label>Principal investigator</label> + <description>Key party responsible for gathering information and conducting research</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>processor</code> + <label>Processor</label> + <description>Party wha has processed the data in a manner such that the resource has been modified</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>publisher</code> + <label>Publisher</label> + <description>Party who published the resource</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>author</code> + <label>Author</label> + <description>Party who authored the resource</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <!-- MCP --> + <entry> + <code>coInvestigator</code> + <label>Co-investigator</label> + <description>One of the key parties responsible for gathering information and conducting research</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>researchAssistant</code> + <label>Research assistant</label> + <description>Party who helped gather information and conduct research</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>licensor</code> + <label>Licensor</label> + <description>Party responsible for licensing</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>ipOwner</code> + <label>IP Owner</label> + <description>Party who owns the intellectual property</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>metadataContact</code> + <label>Metadata Contact</label> + <description>party who can be contacted about the metadata</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>moralRightsOwner</code> + <label>Moral Rights Owner</label> + <description>Party who owns the moral rights</description> + </entry> + </codelist> + <!-- ==================================================== --> + <codelist name="gmd:MD_KeywordTypeCode"> + <entry> + <code>discipline</code> + <label>Discipline</label> + <description>Keyword identifies a branch of instruction or specialized + learning</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>place</code> + <label>Place</label> + <description>Keyword identifies a location</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>stratum</code> + <label>Stratum</label> + <description>Keyword identifies the layer(s) of any deposited substance</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>temporal</code> + <label>Temporal</label> + <description>Keyword identifies a time period related to the dataset</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>theme</code> + <label>Theme</label> + <description>Keyword identifies a particular subject or topic</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <!-- MCP --> + <entry> + <code>taxon</code> + <label>Taxon</label> + <description>Keyword identifies a taxonomy</description> + </entry> + </codelist> + <!-- ==================================================== --> + <codelist name="gmd:MD_MaintenanceFrequencyCode"> + <entry> + <code>continual</code> + <label>Continual</label> + <description>Data is repeatedly and frequently updated</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>daily</code> + <label>Daily</label> + <description>Data is updated each day</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>weekly</code> + <label>Weekly</label> + <description>Data is updated on a weekly basis</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>fortnightly</code> + <label>Fortnightly</label> + <description>Data is updated every two weeks</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>monthly</code> + <label>Monthly</label> + <description>Data is updated each month</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>quarterly</code> + <label>Quarterly</label> + <description>Data is updated every three months</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>biannually</code> + <label>Biannually</label> + <description>Data is updated twice each year</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>annually</code> + <label>Annually</label> + <description>Data is updated every year</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>asNeeded</code> + <label>As needed</label> + <description>Data is updated as deemed necessary</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>irregular</code> + <label>Irregular</label> + <description>Data is updated in intervals that are uneven in duration</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>notPlanned</code> + <label>Not planned</label> + <description>There are no plans to update the data</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>unknown</code> + <label>Unknown</label> + <description>Frequency of maintenance for the data is not known</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <!-- MCP --> + <entry> + <code>hourly</code> + <label>Hourly</label> + <description>Data is updated hourly</description> + </entry> + </codelist> -<!-- codelists for the MCP are handled directly from - schema/resources/Codelist/gmxCodelists.xml to avoid duplicating - codelists by present/metadata-iso19139.mcp.xsl --> + <!-- MCP Specific Codelists --> -<codelists xmlns:gmd="http://www.isotc211.org/2005/gmd"> + <!-- ==================================================== --> + <codelist name="mcp:MD_CurrencyTypeCode"> + <entry> + <code>mostRecent</code> + <label>Most Recent</label> + <description>Resource currency is most recent</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>historical</code> + <label>Historical</label> + <description>Resource currency is historical</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>predicted</code> + <label>Predicted</label> + <description>Resource currency is predicted</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>unknown</code> + <label>Unknown</label> + <description>Resource currency is unknown</description> + </entry> + </codelist> + <!-- ==================================================== --> + <codelist name="mcp:MD_TemporalAggregationUnitCode"> + <entry> + <code>day</code> + <label>Day</label> + <description>Aggregation unit is day</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>multi-day</code> + <label>Multi-day</label> + <description>Aggregation unit is multi-day</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>week</code> + <label>Week</label> + <description>Aggregation unit is week</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>multi-week</code> + <label>Multi-week</label> + <description>Aggregation unit is multi-week</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>year</code> + <label>Year</label> + <description>Aggregation unit is year</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>multi-year</code> + <label>Multi-year</label> + <description>Aggregation unit is multi-year</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>none</code> + <label>None</label> + <description>Aggregation unit is none</description> + </entry> + </codelist> + <!-- ==================================================== --> + <codelist name="mcp:DP_TypeCode"> + <entry> + <code>shortName</code> + <label>Short Name</label> + <description>The short name by which the parameter or unit is known</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>longName</code> + <label>Long Name</label> + <description>The long name by which the parameter or unit is known</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>code</code> + <label>Code</label> + <description>The code by which the parameter or unit is known</description> + </entry> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> + <entry> + <code>other</code> + <label>Other</label> + <description>The parameter or unit is known by this name for some other reason</description> + </entry> + </codelist> </codelists> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <sp...@us...> - 2012-05-03 10:18:29
|
Revision: 9087 http://geonetwork.svn.sourceforge.net/geonetwork/?rev=9087&view=rev Author: sppigot Date: 2012-05-03 10:18:17 +0000 (Thu, 03 May 2012) Log Message: ----------- Correct typo in URL Add new gen sample record with uuids Modified Paths: -------------- schemaPlugins/trunk/iso19135/sample-data/anzlic-geographic-extent-names-register.mef schemaPlugins/trunk/iso19139.anzlic/schema/resources/Codelist/anzlic-theme.xml Modified: schemaPlugins/trunk/iso19135/sample-data/anzlic-geographic-extent-names-register.mef =================================================================== (Binary files differ) Modified: schemaPlugins/trunk/iso19139.anzlic/schema/resources/Codelist/anzlic-theme.xml =================================================================== --- schemaPlugins/trunk/iso19139.anzlic/schema/resources/Codelist/anzlic-theme.xml 2012-05-02 20:35:41 UTC (rev 9086) +++ schemaPlugins/trunk/iso19139.anzlic/schema/resources/Codelist/anzlic-theme.xml 2012-05-03 10:18:17 UTC (rev 9087) @@ -34,921 +34,921 @@ <codeEntry> <CodeDefinition gml:id="AGRICULTURE"> <gml:description>AGRICULTURE non-specific</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">AGRICULTURE</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">AGRICULTURE</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="AGRICULTURE-Crops"> <gml:description>AGRICULTURE Crops</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">AGRICULTURE-Crops</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">AGRICULTURE-Crops</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="AGRICULTURE-Horticulture"> <gml:description>AGRICULTURE Horticulture</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">AGRICULTURE-Horticulture</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">AGRICULTURE-Horticulture</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="AGRICULTURE-Irrigation"> <gml:description>AGRICULTURE Irrigation</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">AGRICULTURE-Irrigation</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">AGRICULTURE-Irrigation</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="AGRICULTURE-Livestock"> <gml:description>AGRICULTURE Livestock</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">AGRICULTURE-Livestock</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">AGRICULTURE-Livestock</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="ATMOSPHERE"> <gml:description>ATMOSPHERE non-specific</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">ATMOSPHERE</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">ATMOSPHERE</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="ATMOSPHERE-Air-Quality"> <gml:description>ATMOSPHERE Air Quality</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">ATMOSPHERE-Air-Quality</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">ATMOSPHERE-Air-Quality</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="ATMOSPHERE-Greenhouse"> <gml:description>ATMOSPHERE Greenhouse</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">ATMOSPHERE-Greenhouse</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">ATMOSPHERE-Greenhouse</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="ATMOSPHERE-Ozone"> <gml:description>ATMOSPHERE Ozone</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">ATMOSPHERE-Ozone</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">ATMOSPHERE-Ozone</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="ATMOSPHERE-Pressure"> <gml:description>ATMOSPHERE Pressure</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">ATMOSPHERE-Pressure</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">ATMOSPHERE-Pressure</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="BOUNDARIES"> <gml:description>BOUNDARIES non-specific</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">BOUNDARIES</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">BOUNDARIES</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="BOUNDARIES-Administrative"> <gml:description>BOUNDARIES Administrative</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">BOUNDARIES-Administrative</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">BOUNDARIES-Administrative</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="BOUNDARIES-Biophysical"> <gml:description>BOUNDARIES Biophysical</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">BOUNDARIES-Biophysical</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">BOUNDARIES-Biophysical</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="BOUNDARIES-Cultural"> <gml:description>BOUNDARIES Cultural</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">BOUNDARIES-Cultural</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">BOUNDARIES-Cultural</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="CLIMATE-AND-WEATHER"> <gml:description>CLIMATE AND WEATHER</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">CLIMATE-AND-WEATHER</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">CLIMATE-AND-WEATHER</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="CLIMATE-AND-WEATHER-Climate-change"> <gml:description>CLIMATE AND WEATHER Climate change</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">CLIMATE-AND-WEATHER-Climate-change</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">CLIMATE-AND-WEATHER-Climate-change</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="CLIMATE-AND-WEATHER-Drought"> <gml:description>CLIMATE AND WEATHER Drought</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">CLIMATE-AND-WEATHER-Drought</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">CLIMATE-AND-WEATHER-Drought</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="CLIMATE-AND-WEATHER-El-Nino"> <gml:description>CLIMATE AND WEATHER El Nino</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">CLIMATE-AND-WEATHER-El-Nino</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">CLIMATE-AND-WEATHER-El-Nino</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="CLIMATE-AND-WEATHER-Extreme-weather-events"> <gml:description>CLIMATE AND WEATHER Extreme weather events</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">CLIMATE-AND-WEATHER-Extreme-weather-events</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">CLIMATE-AND-WEATHER-Extreme-weather-events</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="CLIMATE-AND-WEATHER-Meteorology"> <gml:description>CLIMATE AND WEATHER Meteorology</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">CLIMATE-AND-WEATHER-Meteorology</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">CLIMATE-AND-WEATHER-Meteorology</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="CLIMATE-AND-WEATHER-Radiation"> <gml:description>CLIMATE AND WEATHER Radiation</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">CLIMATE-AND-WEATHER-Radiation</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">CLIMATE-AND-WEATHER-Radiation</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="CLIMATE-AND-WEATHER-Rainfall"> <gml:description>CLIMATE AND WEATHER Rainfall</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">CLIMATE-AND-WEATHER-Rainfall</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">CLIMATE-AND-WEATHER-Rainfall</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="CLIMATE-AND-WEATHER-Temperature"> <gml:description>CLIMATE AND WEATHER Temperature</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">CLIMATE-AND-WEATHER-Temperature</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">CLIMATE-AND-WEATHER-Temperature</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="DEMOGRAPHY"> <gml:description>DEMOGRAPHY non-specific</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">DEMOGRAPHY</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">DEMOGRAPHY</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="DISEASE"> <gml:description>DISEASE non-specific</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">DISEASE</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">DISEASE</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="ECOLOGY"> <gml:description>ECOLOGY non-specific</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">ECOLOGY</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">ECOLOGY</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="ECOLOGY-Community"> <gml:description>ECOLOGY Community</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">ECOLOGY-Community</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">ECOLOGY-Community</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="ECOLOGY-Ecosystem"> <gml:description>ECOLOGY Ecosystem</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">ECOLOGY-Ecosystem</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">ECOLOGY-Ecosystem</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="ECOLOGY-Habitat"> <gml:description>ECOLOGY Habitat</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">ECOLOGY-Habitat</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">ECOLOGY-Habitat</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="ECOLOGY-Landscape"> <gml:description>ECOLOGY Landscape</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">ECOLOGY-Landscape</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">ECOLOGY-Landscape</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="ENERGY"> <gml:description>ENERGY non-specific</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">ENERGY</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">ENERGY</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="ENERGY-Coal"> <gml:description>ENERGY Coal</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">ENERGY-Coal</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">ENERGY-Coal</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="ENERGY-Electricity"> <gml:description>ENERGY Electricity</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">ENERGY-Electricity</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">ENERGY-Electricity</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="ENERGY-Petroleum"> <gml:description>ENERGY Petroleum</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">ENERGY-Petroleum</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">ENERGY-Petroleum</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="ENERGY-Renewable"> <gml:description>ENERGY Renewable</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">ENERGY-Renewable</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">ENERGY-Renewable</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="ENERGY-Use"> <gml:description>ENERGY Use</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">ENERGY-Use</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">ENERGY-Use</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="FAUNA"> <gml:description>FAUNA non-specific</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">FAUNA</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">FAUNA</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="FAUNA-Exotic"> <gml:description>FAUNA Exotic</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">FAUNA-Exotic</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">FAUNA-Exotic</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="FAUNA-Insects"> <gml:description>FAUNA Insects</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">FAUNA-Insects</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">FAUNA-Insects</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="FAUNA-Invertebrates"> <gml:description>FAUNA Invertebrates</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">FAUNA-Invertebrates</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">FAUNA-Invertebrates</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="FAUNA-Native"> <gml:description>FAUNA Native</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">FAUNA-Native</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">FAUNA-Native</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="FAUNA-Vertebrates"> <gml:description>FAUNA Vertebrates</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">FAUNA-Vertebrates</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">FAUNA-Vertebrates</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="FISHERIES"> <gml:description>FISHERIES non-specific</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">FISHERIES</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">FISHERIES</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="FISHERIES-Aquaculture"> <gml:description>FISHERIES Aquaculture</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">FISHERIES-Aquaculture</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">FISHERIES-Aquaculture</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="FISHERIES-Freshwater"> <gml:description>FISHERIES Freshwater</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">FISHERIES-Freshwater</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">FISHERIES-Freshwater</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="FISHERIES-Marine"> <gml:description>FISHERIES Marine</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">FISHERIES-Marine</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">FISHERIES-Marine</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="FISHERIES-Recreational"> <gml:description>FISHERIES Recreational</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">FISHERIES-Recreational</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">FISHERIES-Recreational</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="FLORA"> <gml:description>FLORA non-specific</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">FLORA</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">FLORA</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="FLORA-Exotic"> <gml:description>FLORA Exotic</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">FLORA-Exotic</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">FLORA-Exotic</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="FLORA-Native"> <gml:description>FLORA Native</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">FLORA-Native</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">FLORA-Native</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="FORESTS"> <gml:description>FORESTS non-specific</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">FORESTS</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">FORESTS</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="FORESTS-Agriforestry"> <gml:description>FORESTS Agriforestry</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">FORESTS-Agriforestry</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">FORESTS-Agriforestry</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="FORESTS-Natural"> <gml:description>FORESTS Natural</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">FORESTS-Natural</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">FORESTS-Natural</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="FORESTS-Plantation"> <gml:description>FORESTS Plantation</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">FORESTS-Plantation</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">FORESTS-Plantation</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="GEOSCIENCES"> <gml:description>GEOSCIENCES non-specific</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">GEOSCIENCES</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">GEOSCIENCES</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="GEOSCIENCES-Geochemistry"> <gml:description>GEOSCIENCES Geochemistry</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">GEOSCIENCES-Geochemistry</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">GEOSCIENCES-Geochemistry</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="GEOSCIENCES-Geology"> <gml:description>GEOSCIENCES Geology</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">GEOSCIENCES-Geology</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">GEOSCIENCES-Geology</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="GEOSCIENCES-Geomorphology"> <gml:description>GEOSCIENCES Geomorphology</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">GEOSCIENCES-Geomorphology</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">GEOSCIENCES-Geomorphology</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="GEOSCIENCES-Geophysics"> <gml:description>GEOSCIENCES Geophysics</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">GEOSCIENCES-Geophysics</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">GEOSCIENCES-Geophysics</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="GEOSCIENCES-Hydrogeology"> <gml:description>GEOSCIENCES Hydrogeology</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">GEOSCIENCES-Hydrogeology</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">GEOSCIENCES-Hydrogeology</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="HAZARDS"> <gml:description>HAZARDS non-specific</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">HAZARDS</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">HAZARDS</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="HAZARDS-Cyclones"> <gml:description>HAZARDS Cyclones</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">HAZARDS-Cyclones</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">HAZARDS-Cyclones</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="HAZARDS-Drought"> <gml:description>HAZARDS Drought</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">HAZARDS-Drought</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">HAZARDS-Drought</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="HAZARDS-Earthquake"> <gml:description>HAZARDS Earthquake</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">HAZARDS-Earthquake</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">HAZARDS-Earthquake</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="HAZARDS-Fire"> <gml:description>HAZARDS Fire</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">HAZARDS-Fire</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">HAZARDS-Fire</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="HAZARDS-Flood"> <gml:description>HAZARDS Flood</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">HAZARDS-Flood</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">HAZARDS-Flood</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="HAZARDS-Landslip"> <gml:description>HAZARDS Landslip</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">HAZARDS-Landslip</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">HAZARDS-Landslip</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="HAZARDS-Manmade"> <gml:description>HAZARDS Manmade</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">HAZARDS-Manmade</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">HAZARDS-Manmade</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="HAZARDS-Pests"> <gml:description>HAZARDS Pests</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">HAZARDS-Pests</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">HAZARDS-Pests</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="HAZARDS-Severe-local-storms"> <gml:description>HAZARDS Severe local storms</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">HAZARDS-Severe-local-storms</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">HAZARDS-Severe-local-storms</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="HAZARDS-Tsunamis"> <gml:description>HAZARDS Tsunamis</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">HAZARDS-Tsunamis</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">HAZARDS-Tsunamis</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="HEALTH"> <gml:description>HEALTH non-specific</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">HEALTH</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">HEALTH</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="HERITAGE"> <gml:description>HERITAGE non-specific</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">HERITAGE</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">HERITAGE</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="HERITAGE-Aboriginal"> <gml:description>HERITAGE Aboriginal</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">HERITAGE-Aboriginal</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">HERITAGE-Aboriginal</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="HERITAGE-Architectural"> <gml:description>HERITAGE Architectural</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">HERITAGE-Architectural</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">HERITAGE-Architectural</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="HERITAGE-Natural"> <gml:description>HERITAGE Natural</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">HERITAGE-Natural</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">HERITAGE-Natural</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="HERITAGE-World"> <gml:description>HERITAGE World</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">HERITAGE-World</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">HERITAGE-World</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="HUMAN-ENVIRONMENT"> <gml:description>HUMAN ENVIRONMENT</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">HUMAN-ENVIRONMENT</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">HUMAN-ENVIRONMENT</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="HUMAN-ENVIRONMENT-Economics"> <gml:description>HUMAN ENVIRONMENT Economics</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">HUMAN-ENVIRONMENT-Economics</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">HUMAN-ENVIRONMENT-Economics</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="HUMAN-ENVIRONMENT-Housing"> <gml:description>HUMAN ENVIRONMENT Housing</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">HUMAN-ENVIRONMENT-Housing</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">HUMAN-ENVIRONMENT-Housing</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="HUMAN-ENVIRONMENT-Livability"> <gml:description>HUMAN ENVIRONMENT Livability</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">HUMAN-ENVIRONMENT-Livability</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">HUMAN-ENVIRONMENT-Livability</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="HUMAN-ENVIRONMENT-Planning"> <gml:description>HUMAN ENVIRONMENT Planning</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">HUMAN-ENVIRONMENT-Planning</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">HUMAN-ENVIRONMENT-Planning</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="HUMAN-ENVIRONMENT-Structures-and-Facilities"> <gml:description>HUMAN ENVIRONMENT Structures and Facilities</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">HUMAN-ENVIRONMENT-Structures-and-Facilities</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">HUMAN-ENVIRONMENT-Structures-and-Facilities</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="HUMAN-ENVIRONMENT-Urban-Design"> <gml:description>HUMAN ENVIRONMENT Urban Design</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">HUMAN-ENVIRONMENT-Urban-Design</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">HUMAN-ENVIRONMENT-Urban-Design</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="INDUSTRY"> <gml:description>INDUSTRY non-specific</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">INDUSTRY</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">INDUSTRY</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="INDUSTRY-Manufacturing"> <gml:description>INDUSTRY Manufacturing</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">INDUSTRY-Manufacturing</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">INDUSTRY-Manufacturing</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="INDUSTRY-Mining"> <gml:description>INDUSTRY Mining</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">INDUSTRY-Mining</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">INDUSTRY-Mining</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="INDUSTRY-Other"> <gml:description>INDUSTRY Other</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">INDUSTRY-Other</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">INDUSTRY-Other</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="INDUSTRY-Primary"> <gml:description>INDUSTRY Primary</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">INDUSTRY-Primary</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">INDUSTRY-Primary</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="INDUSTRY-Service"> <gml:description>INDUSTRY Service</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">INDUSTRY-Service</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">INDUSTRY-Service</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="LAND"> <gml:description>LAND non-specific</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">LAND</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">LAND</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="LAND-Cadastre"> <gml:description>LAND Cadastre</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">LAND-Cadastre</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">LAND-Cadastre</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="LAND-Cover"> <gml:description>LAND Cover</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">LAND-Cover</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">LAND-Cover</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="LAND-Geodesy"> <gml:description>LAND Geodesy</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">LAND-Geodesy</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">LAND-Geodesy</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="LAND-Geography"> <gml:description>LAND Geography</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">LAND-Geography</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">LAND-Geography</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="LAND-Ownership"> <gml:description>LAND Ownership</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">LAND-Ownership</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">LAND-Ownership</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="LAND-Topography"> <gml:description>LAND Topography</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">LAND-Topography</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">LAND-Topography</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="LAND-Use"> <gml:description>LAND Use</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">LAND-Use</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">LAND-Use</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="LAND-Valuation"> <gml:description>LAND Valuation</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">LAND-Valuation</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">LAND-Valuation</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="MARINE"> <gml:description>MARINE non-specific</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">MARINE</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">MARINE</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="MARINE-Biology"> <gml:description>MARINE Biology</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">MARINE-Biology</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">MARINE-Biology</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="MARINE-Coasts"> <gml:description>MARINE Coasts</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">MARINE-Coasts</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">MARINE-Coasts</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="MARINE-Estuaries"> <gml:description>MARINE Estuaries</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">MARINE-Estuaries</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">MARINE-Estuaries</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="MARINE-Geology-and-Geophysics"> <gml:description>MARINE Geology and Geophysics</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">MARINE-Geology-and-Geophysics</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">MARINE-Geology-and-Geophysics</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="MARINE-Human-Impacts"> <gml:description>MARINE Human Impacts</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">MARINE-Human-Impacts</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">MARINE-Human-Impacts</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="MARINE-Meteorology"> <gml:description>MARINE Meteorology</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">MARINE-Meteorology</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">MARINE-Meteorology</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="MARINE-Reefs"> <gml:description>MARINE Reefs</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">MARINE-Reefs</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">MARINE-Reefs</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="MINERALS"> <gml:description>MINERALS non-specific</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">MINERALS</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">MINERALS</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="MOLECULAR-BIOLOGY"> <gml:description>MOLECULAR BIOLOGY</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">MOLECULAR-BIOLOGY</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">MOLECULAR-BIOLOGY</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="MOLECULAR-BIOLOGY-Genetics"> <gml:description>MOLECULAR BIOLOGY Genetics</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">MOLECULAR-BIOLOGY-Genetics</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">MOLECULAR-BIOLOGY-Genetics</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="OCEANOGRAPHY"> <gml:description>OCEANOGRAPHY non-specific</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">OCEANOGRAPHY</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">OCEANOGRAPHY</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="OCEANOGRAPHY-Chemical"> <gml:description>OCEANOGRAPHY Chemical</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">OCEANOGRAPHY-Chemical</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">OCEANOGRAPHY-Chemical</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="OCEANOGRAPHY-Physical"> <gml:description>OCEANOGRAPHY Physical</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">OCEANOGRAPHY-Physical</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">OCEANOGRAPHY-Physical</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="PHOTOGRAPHY-AND-IMAGERY"> <gml:description>PHOTOGRAPHY AND IMAGERY</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">PHOTOGRAPHY-AND-IMAGERY</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">PHOTOGRAPHY-AND-IMAGERY</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="PHOTOGRAPHY-AND-IMAGERY-Aerial"> <gml:description>PHOTOGRAPHY AND IMAGERY Aerial</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">PHOTOGRAPHY-AND-IMAGERY-Aerial</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">PHOTOGRAPHY-AND-IMAGERY-Aerial</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="PHOTOGRAPHY-AND-IMAGERY-Remote-Sensing"> <gml:description>PHOTOGRAPHY AND IMAGERY Remote Sensing</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">PHOTOGRAPHY-AND-IMAGERY-Remote-Sensing</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">PHOTOGRAPHY-AND-IMAGERY-Remote-Sensing</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="PHOTOGRAPHY-AND-IMAGERY-Satellite"> <gml:description>PHOTOGRAPHY AND IMAGERY Satellite</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">PHOTOGRAPHY-AND-IMAGERY-Satellite</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">PHOTOGRAPHY-AND-IMAGERY-Satellite</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="POLLUTION"> <gml:description>POLLUTION non-specific</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">POLLUTION</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">POLLUTION</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="POLLUTION-Air"> <gml:description>POLLUTION Air</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">POLLUTION-Air</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">POLLUTION-Air</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="POLLUTION-Noise"> <gml:description>POLLUTION Noise</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">POLLUTION-Noise</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">POLLUTION-Noise</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="POLLUTION-Soil"> <gml:description>POLLUTION Soil</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">POLLUTION-Soil</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">POLLUTION-Soil</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="POLLUTION-Water"> <gml:description>POLLUTION Water</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">POLLUTION-Water</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">POLLUTION-Water</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="SOIL"> <gml:description>SOIL non-specific</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">SOIL</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">SOIL</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="SOIL-Biology"> <gml:description>SOIL Biology</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">SOIL-Biology</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">SOIL-Biology</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="SOIL-Chemistry"> <gml:description>SOIL Chemistry</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">SOIL-Chemistry</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">SOIL-Chemistry</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="SOIL-Erosion"> <gml:description>SOIL Erosion</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">SOIL-Erosion</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">SOIL-Erosion</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="SOIL-Physics"> <gml:description>SOIL Physics</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">SOIL-Physics</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">SOIL-Physics</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="TRANSPORTATION"> <gml:description>TRANSPORTATION non-specific</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">TRANSPORTATION</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">TRANSPORTATION</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="TRANSPORTATION-Air"> <gml:description>TRANSPORTATION Air</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">TRANSPORTATION-Air</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">TRANSPORTATION-Air</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="TRANSPORTATION-Land"> <gml:description>TRANSPORTATION Land</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">TRANSPORTATION-Land</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">TRANSPORTATION-Land</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="TRANSPORTATION-Marine"> <gml:description>TRANSPORTATION Marine</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">TRANSPORTATION-Marine</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">TRANSPORTATION-Marine</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="UTILITIES"> <gml:description>UTILITIES non-specific</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">UTILITIES</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">UTILITIES</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="VEGETATION"> <gml:description>VEGETATION non-specific</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">VEGETATION</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">VEGETATION</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="VEGETATION-Floristic"> <gml:description>VEGETATION Floristic</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">VEGETATION-Floristic</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">VEGETATION-Floristic</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="VEGETATION-Structural"> <gml:description>VEGETATION Structural</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">VEGETATION-Structural</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">VEGETATION-Structural</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="WASTE"> <gml:description>WASTE non-specific</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">WASTE</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">WASTE</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="WASTE-Greenhouse-gas"> <gml:description>WASTE Greenhouse gas</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">WASTE-Greenhouse-gas</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">WASTE-Greenhouse-gas</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="WASTE-Heat"> <gml:description>WASTE Heat</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">WASTE-Heat</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">WASTE-Heat</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="WASTE-Liquid"> <gml:description>WASTE Liquid</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">WASTE-Liquid</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">WASTE-Liquid</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="WASTE-Sewage"> <gml:description>WASTE Sewage</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">WASTE-Sewage</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">WASTE-Sewage</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="WASTE-Solid"> <gml:description>WASTE Solid</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">WASTE-Solid</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">WASTE-Solid</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="WASTE-Toxic"> <gml:description>WASTE Toxic</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">WASTE-Toxic</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">WASTE-Toxic</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="WATER"> <gml:description>WATER non-specific</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">WATER</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">WATER</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="WATER-Groundwater"> <gml:description>WATER Groundwater</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">WATER-Groundwater</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">WATER-Groundwater</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="WATER-Hydrochemistry"> <gml:description>WATER Hydrochemistry</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">WATER-Hydrochemistry</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">WATER-Hydrochemistry</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="WATER-Hydrology"> <gml:description>WATER Hydrology</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">WATER-Hydrology</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">WATER-Hydrology</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="WATER-Lakes"> <gml:description>WATER Lakes</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">WATER-Lakes</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">WATER-Lakes</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="WATER-Quality"> <gml:description>WATER Quality</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">WATER-Quality</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">WATER-Quality</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="WATER-Rivers"> <gml:description>WATER Rivers</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">WATER-Rivers</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">WATER-Rivers</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="WATER-Salinity"> <gml:description>WATER Salinity</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">WATER-Salinity</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">WATER-Salinity</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="WATER-Supply"> <gml:description>WATER Supply</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">WATER-Supply</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">WATER-Supply</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="WATER-Surface"> <gml:description>WATER Surface</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">WATER-Surface</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">WATER-Surface</gml:identifier> </CodeDefinition> </codeEntry> <codeEntry> <CodeDefinition gml:id="WATER-Wetlands"> <gml:description>WATER Wetlands</gml:description> - <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/seach">WATER-Wetlands</gml:identifier> + <gml:identifier codeSpace="http://www.ga.gov.au/anzmeta/search">WATER-Wetlands</gml:identifier> </CodeDefinition> </codeEntry> </CodeListDictionary> </codelistItem> -</CT_CodelistCatalogue> \ No newline at end of file +</CT_CodelistCatalogue> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |