-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from ecolabdata/feat/anchor-resource-constraints
Add anchor-resource-constraints xslt
- Loading branch information
Showing
20 changed files
with
1,369 additions
and
0 deletions.
There are no files selected for viewing
28 changes: 28 additions & 0 deletions
28
fixtures/sample--resource-constraints-inspire-license-spaces.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<gmd:MD_Metadata xmlns:gmd="http://www.isotc211.org/2005/gmd" | ||
xmlns:gmx="http://www.isotc211.org/2005/gmx" | ||
xmlns:gco="http://www.isotc211.org/2005/gco" | ||
xmlns:xlink="http://www.w3.org/1999/xlink" | ||
xmlns:fra="http://www.cnig.gouv.fr/2005/fra" | ||
xmlns:gml="http://www.opengis.net/gml/3.2" | ||
xmlns:gts="http://www.isotc211.org/2005/gts" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://www.isotc211.org/2005/gmd http://schemas.opengis.net/csw/2.0.2/profiles/apiso/1.0.0/apiso.xsd"> | ||
<gmd:fileIdentifier> | ||
<gco:CharacterString>sample-id</gco:CharacterString> | ||
</gmd:fileIdentifier> | ||
<gmd:identificationInfo> | ||
<gmd:MD_DataIdentification> | ||
<gmd:resourceConstraints> | ||
<gmd:MD_LegalConstraints> | ||
<gmd:useConstraints> | ||
<gmd:MD_RestrictionCode codeList="http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#MD_RestrictionCode" codeListValue="otherRestrictions"/> | ||
</gmd:useConstraints> | ||
<gmd:otherConstraints> | ||
<gco:CharacterString> Licence Ouverte version 2.0</gco:CharacterString> | ||
</gmd:otherConstraints> | ||
</gmd:MD_LegalConstraints> | ||
</gmd:resourceConstraints> | ||
</gmd:MD_DataIdentification> | ||
</gmd:identificationInfo> | ||
</gmd:MD_Metadata> |
28 changes: 28 additions & 0 deletions
28
fixtures/sample--resource-constraints-inspire-limitation-accents.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<gmd:MD_Metadata xmlns:gmd="http://www.isotc211.org/2005/gmd" | ||
xmlns:gmx="http://www.isotc211.org/2005/gmx" | ||
xmlns:gco="http://www.isotc211.org/2005/gco" | ||
xmlns:xlink="http://www.w3.org/1999/xlink" | ||
xmlns:fra="http://www.cnig.gouv.fr/2005/fra" | ||
xmlns:gml="http://www.opengis.net/gml/3.2" | ||
xmlns:gts="http://www.isotc211.org/2005/gts" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://www.isotc211.org/2005/gmd http://schemas.opengis.net/csw/2.0.2/profiles/apiso/1.0.0/apiso.xsd"> | ||
<gmd:fileIdentifier> | ||
<gco:CharacterString>sample-id</gco:CharacterString> | ||
</gmd:fileIdentifier> | ||
<gmd:identificationInfo> | ||
<gmd:MD_DataIdentification> | ||
<gmd:resourceConstraints> | ||
<gmd:MD_LegalConstraints> | ||
<gmd:useConstraints> | ||
<gmd:MD_RestrictionCode codeList="http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#MD_RestrictionCode" codeListValue="otherRestrictions"/> | ||
</gmd:useConstraints> | ||
<gmd:otherConstraints> | ||
<gco:CharacterString>Pas de restriction d'acces public</gco:CharacterString> | ||
</gmd:otherConstraints> | ||
</gmd:MD_LegalConstraints> | ||
</gmd:resourceConstraints> | ||
</gmd:MD_DataIdentification> | ||
</gmd:identificationInfo> | ||
</gmd:MD_Metadata> |
28 changes: 28 additions & 0 deletions
28
fixtures/sample--resource-constraints-inspire-limitation-article13.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<gmd:MD_Metadata xmlns:gmd="http://www.isotc211.org/2005/gmd" | ||
xmlns:gmx="http://www.isotc211.org/2005/gmx" | ||
xmlns:gco="http://www.isotc211.org/2005/gco" | ||
xmlns:xlink="http://www.w3.org/1999/xlink" | ||
xmlns:fra="http://www.cnig.gouv.fr/2005/fra" | ||
xmlns:gml="http://www.opengis.net/gml/3.2" | ||
xmlns:gts="http://www.isotc211.org/2005/gts" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://www.isotc211.org/2005/gmd http://schemas.opengis.net/csw/2.0.2/profiles/apiso/1.0.0/apiso.xsd"> | ||
<gmd:fileIdentifier> | ||
<gco:CharacterString>sample-id</gco:CharacterString> | ||
</gmd:fileIdentifier> | ||
<gmd:identificationInfo> | ||
<gmd:MD_DataIdentification> | ||
<gmd:resourceConstraints> | ||
<gmd:MD_LegalConstraints> | ||
<gmd:useConstraints> | ||
<gmd:MD_RestrictionCode codeList="http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#MD_RestrictionCode" codeListValue="otherRestrictions"/> | ||
</gmd:useConstraints> | ||
<gmd:otherConstraints> | ||
<gco:CharacterString>L124-5-II-2 du code de l'environnement (Directive 2007/2/CE (INSPIRE), Article 13.1.c)</gco:CharacterString> | ||
</gmd:otherConstraints> | ||
</gmd:MD_LegalConstraints> | ||
</gmd:resourceConstraints> | ||
</gmd:MD_DataIdentification> | ||
</gmd:identificationInfo> | ||
</gmd:MD_Metadata> |
28 changes: 28 additions & 0 deletions
28
fixtures/sample--resource-constraints-inspire-limitation-exact.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<gmd:MD_Metadata xmlns:gmd="http://www.isotc211.org/2005/gmd" | ||
xmlns:gmx="http://www.isotc211.org/2005/gmx" | ||
xmlns:gco="http://www.isotc211.org/2005/gco" | ||
xmlns:xlink="http://www.w3.org/1999/xlink" | ||
xmlns:fra="http://www.cnig.gouv.fr/2005/fra" | ||
xmlns:gml="http://www.opengis.net/gml/3.2" | ||
xmlns:gts="http://www.isotc211.org/2005/gts" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://www.isotc211.org/2005/gmd http://schemas.opengis.net/csw/2.0.2/profiles/apiso/1.0.0/apiso.xsd"> | ||
<gmd:fileIdentifier> | ||
<gco:CharacterString>sample-id</gco:CharacterString> | ||
</gmd:fileIdentifier> | ||
<gmd:identificationInfo> | ||
<gmd:MD_DataIdentification> | ||
<gmd:resourceConstraints> | ||
<gmd:MD_LegalConstraints> | ||
<gmd:useConstraints> | ||
<gmd:MD_RestrictionCode codeList="http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#MD_RestrictionCode" codeListValue="otherRestrictions"/> | ||
</gmd:useConstraints> | ||
<gmd:otherConstraints> | ||
<gco:CharacterString>Pas de restriction d'accès public</gco:CharacterString> | ||
</gmd:otherConstraints> | ||
</gmd:MD_LegalConstraints> | ||
</gmd:resourceConstraints> | ||
</gmd:MD_DataIdentification> | ||
</gmd:identificationInfo> | ||
</gmd:MD_Metadata> |
28 changes: 28 additions & 0 deletions
28
fixtures/sample--resource-constraints-inspire-limitation-quotes.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<gmd:MD_Metadata xmlns:gmd="http://www.isotc211.org/2005/gmd" | ||
xmlns:gmx="http://www.isotc211.org/2005/gmx" | ||
xmlns:gco="http://www.isotc211.org/2005/gco" | ||
xmlns:xlink="http://www.w3.org/1999/xlink" | ||
xmlns:fra="http://www.cnig.gouv.fr/2005/fra" | ||
xmlns:gml="http://www.opengis.net/gml/3.2" | ||
xmlns:gts="http://www.isotc211.org/2005/gts" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://www.isotc211.org/2005/gmd http://schemas.opengis.net/csw/2.0.2/profiles/apiso/1.0.0/apiso.xsd"> | ||
<gmd:fileIdentifier> | ||
<gco:CharacterString>sample-id</gco:CharacterString> | ||
</gmd:fileIdentifier> | ||
<gmd:identificationInfo> | ||
<gmd:MD_DataIdentification> | ||
<gmd:resourceConstraints> | ||
<gmd:MD_LegalConstraints> | ||
<gmd:useConstraints> | ||
<gmd:MD_RestrictionCode codeList="http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#MD_RestrictionCode" codeListValue="otherRestrictions"/> | ||
</gmd:useConstraints> | ||
<gmd:otherConstraints> | ||
<gco:CharacterString>Pas de restriction d’accès public</gco:CharacterString> | ||
</gmd:otherConstraints> | ||
</gmd:MD_LegalConstraints> | ||
</gmd:resourceConstraints> | ||
</gmd:MD_DataIdentification> | ||
</gmd:identificationInfo> | ||
</gmd:MD_Metadata> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<gmd:MD_Metadata xmlns:gmd="http://www.isotc211.org/2005/gmd" | ||
xmlns:gmx="http://www.isotc211.org/2005/gmx" | ||
xmlns:gco="http://www.isotc211.org/2005/gco" | ||
xmlns:xlink="http://www.w3.org/1999/xlink" | ||
xmlns:fra="http://www.cnig.gouv.fr/2005/fra" | ||
xmlns:gml="http://www.opengis.net/gml/3.2" | ||
xmlns:gts="http://www.isotc211.org/2005/gts" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://www.isotc211.org/2005/gmd http://schemas.opengis.net/csw/2.0.2/profiles/apiso/1.0.0/apiso.xsd"> | ||
<gmd:fileIdentifier> | ||
<gco:CharacterString>sample-id</gco:CharacterString> | ||
</gmd:fileIdentifier> | ||
<gmd:identificationInfo> | ||
<gmd:MD_DataIdentification> | ||
<gmd:resourceConstraints> | ||
<gmd:MD_LegalConstraints> | ||
<gmd:useConstraints> | ||
<gmd:MD_RestrictionCode codeList="http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#MD_RestrictionCode" codeListValue="otherRestrictions"/> | ||
</gmd:useConstraints> | ||
<gmd:otherConstraints> | ||
<gco:CharacterString>etalab-2.0</gco:CharacterString> | ||
</gmd:otherConstraints> | ||
</gmd:MD_LegalConstraints> | ||
</gmd:resourceConstraints> | ||
</gmd:MD_DataIdentification> | ||
</gmd:identificationInfo> | ||
</gmd:MD_Metadata> |
28 changes: 28 additions & 0 deletions
28
fixtures/sample--resource-constraints-license-label-and-url.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<gmd:MD_Metadata xmlns:gmd="http://www.isotc211.org/2005/gmd" | ||
xmlns:gmx="http://www.isotc211.org/2005/gmx" | ||
xmlns:gco="http://www.isotc211.org/2005/gco" | ||
xmlns:xlink="http://www.w3.org/1999/xlink" | ||
xmlns:fra="http://www.cnig.gouv.fr/2005/fra" | ||
xmlns:gml="http://www.opengis.net/gml/3.2" | ||
xmlns:gts="http://www.isotc211.org/2005/gts" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://www.isotc211.org/2005/gmd http://schemas.opengis.net/csw/2.0.2/profiles/apiso/1.0.0/apiso.xsd"> | ||
<gmd:fileIdentifier> | ||
<gco:CharacterString>sample-id</gco:CharacterString> | ||
</gmd:fileIdentifier> | ||
<gmd:identificationInfo> | ||
<gmd:MD_DataIdentification> | ||
<gmd:resourceConstraints> | ||
<gmd:MD_LegalConstraints> | ||
<gmd:useConstraints> | ||
<gmd:MD_RestrictionCode codeList="http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#MD_RestrictionCode" codeListValue="otherRestrictions"/> | ||
</gmd:useConstraints> | ||
<gmd:otherConstraints> | ||
<gco:CharacterString>Licence Ouverte / Open Licence Version 2.0 https://www.etalab.gouv.fr/wp-content/uploads/2017/04/ETALAB-Licence-Ouverte-v2.0.pdf</gco:CharacterString> | ||
</gmd:otherConstraints> | ||
</gmd:MD_LegalConstraints> | ||
</gmd:resourceConstraints> | ||
</gmd:MD_DataIdentification> | ||
</gmd:identificationInfo> | ||
</gmd:MD_Metadata> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<gmd:MD_Metadata xmlns:gmd="http://www.isotc211.org/2005/gmd" | ||
xmlns:gmx="http://www.isotc211.org/2005/gmx" | ||
xmlns:gco="http://www.isotc211.org/2005/gco" | ||
xmlns:xlink="http://www.w3.org/1999/xlink" | ||
xmlns:fra="http://www.cnig.gouv.fr/2005/fra" | ||
xmlns:gml="http://www.opengis.net/gml/3.2" | ||
xmlns:gts="http://www.isotc211.org/2005/gts" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://www.isotc211.org/2005/gmd http://schemas.opengis.net/csw/2.0.2/profiles/apiso/1.0.0/apiso.xsd"> | ||
<gmd:fileIdentifier> | ||
<gco:CharacterString>sample-id</gco:CharacterString> | ||
</gmd:fileIdentifier> | ||
<gmd:identificationInfo> | ||
<gmd:MD_DataIdentification> | ||
<gmd:resourceConstraints> | ||
<gmd:MD_LegalConstraints> | ||
<gmd:useConstraints> | ||
<gmd:MD_RestrictionCode codeList="http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#MD_RestrictionCode" codeListValue="otherRestrictions"/> | ||
</gmd:useConstraints> | ||
<gmd:otherConstraints> | ||
<gco:CharacterString>Licence Ouverte version 2.0</gco:CharacterString> | ||
</gmd:otherConstraints> | ||
</gmd:MD_LegalConstraints> | ||
</gmd:resourceConstraints> | ||
</gmd:MD_DataIdentification> | ||
</gmd:identificationInfo> | ||
</gmd:MD_Metadata> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<gmd:MD_Metadata xmlns:gmd="http://www.isotc211.org/2005/gmd" | ||
xmlns:gmx="http://www.isotc211.org/2005/gmx" | ||
xmlns:gco="http://www.isotc211.org/2005/gco" | ||
xmlns:xlink="http://www.w3.org/1999/xlink" | ||
xmlns:fra="http://www.cnig.gouv.fr/2005/fra" | ||
xmlns:gml="http://www.opengis.net/gml/3.2" | ||
xmlns:gts="http://www.isotc211.org/2005/gts" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://www.isotc211.org/2005/gmd http://schemas.opengis.net/csw/2.0.2/profiles/apiso/1.0.0/apiso.xsd"> | ||
<gmd:fileIdentifier> | ||
<gco:CharacterString>sample-id</gco:CharacterString> | ||
</gmd:fileIdentifier> | ||
<gmd:identificationInfo> | ||
<gmd:MD_DataIdentification> | ||
<gmd:resourceConstraints> | ||
<gmd:MD_LegalConstraints> | ||
<gmd:useConstraints> | ||
<gmd:MD_RestrictionCode codeList="http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#MD_RestrictionCode" codeListValue="otherRestrictions"/> | ||
</gmd:useConstraints> | ||
<gmd:otherConstraints> | ||
<gco:CharacterString>https://www.etalab.gouv.fr/wp-content/uploads/2017/04/ETALAB-Licence-Ouverte-v2.0.pdf</gco:CharacterString> | ||
</gmd:otherConstraints> | ||
</gmd:MD_LegalConstraints> | ||
</gmd:resourceConstraints> | ||
</gmd:MD_DataIdentification> | ||
</gmd:identificationInfo> | ||
</gmd:MD_Metadata> |
Oops, something went wrong.