This XSLT is a proof of concept for the implementation of the specification concerning GeoDCAT-AP, the geospatial profile of DCAT-AP, available on the Interoperable Europe Portal.
As such, this XSLT must be considered as unstable, and can be updated any time based on the revisions to the GeoDCAT-AP specifications and related work in the framework of INSPIRE and the Interoperable Europe initiative.
Comments and inquiries should be sent via the issue tracker.
See DCAT-AP HVD for the HVD technical requirements. The XSLT has been updated to support the HVD tagging good practice. However, this only handles tagging on the Dataset level. Implementers still need to add correct tagging to the Distribution (applicable legislation) and Data Service levels (applicable legislation and HVD category) for those distributions and data services of the dataset, which comply with the HVD IR.
Instructions on how to use the XSLT are available in a separate page.
The XSLT in the main
branch always corresponds to the latest version of GeoDCAT-AP, and it can be directly used via the following URL:
https://raw.githubusercontent.com/SEMICeu/iso-19139-to-dcat-ap/main/iso-19139-to-dcat-ap.xsl
Previous releases are available from the release page.
This repository includes a test framework for validating XSLT transformations. The framework automatically tests the transformation with various configurations and validates outputs against expected results.
Quick start:
cd tests
pip install -r requirements.txt
python run_tests.py --verbose
The test framework includes:
- Multiple test cases: Dataset and service metadata transformations
- Configuration testing: Different GeoDCAT-AP profiles (core/extended)
- Automated CI/CD: GitHub Actions run tests on every commit
- Semantic validation: RDF graph comparison for accurate results
For detailed information, see the testing documentation.
The API is no longer supported from version 3.0. The XSLT can be tested with any CSW endpoint and an XSLT 2.0 compliant processor.
alignments/
: Folder including alignments between the controlled vocabularies used in ISO 19115 / INSPIRE metadata and those used in DCAT-AP.documentation/
: Folder containing documentation on the XSLT:HowTo.md
: Describes how to use the XSLT.HTTP-URIs.md
: Provides the list of transformation rules currently implemented for identifying HTTP URIs embedded in ISO 19139 metadata records.Mappings.md
: Provides a summary of the mappings from ISO 19139 to GeoDCAT-AP.
tests/
: Test framework for validating XSLT transformations:README.md
: Comprehensive guide to the testing framework.run_tests.py
: Python script for running test cases.test-cases/
: Directory containing test input/output pairs.
CHANGELOG.md
: Log of changes made to the XSLT.iso-19139-to-dcat-ap.xsl
: The code of the XSLT.LICENCE.md
: The XSLT's licence.README.md
: This document.