The CERIF Publishing tool is used to produce documentation about:
- the CERIF data model
- the semantic vocabularies
The documentation produced by this tool is published on the euroCRIS website.
The objective of this tool it to produce:
- an RDF description of the CERIF data model
- an HTML human readable version of each XML CERIF semantic vocabulary
- an RDF description of each XML CERIF semantic vocabulary
- a ready-to-deploy structure to be published on the euroCRIS website
- Install Apache Maven.
- Check out the following three projects in your workspace: CERIF-DataModel, CERIF-Vocabularies and CERIF-TG-Tools (this project). Get the right branch combination.
- Open a console on your computer.
- Navigate to the directory with this README.md file:
cd ~/workspace/CERIF-TG-Tools/CERIF-Publishing
The XML semantic vocabularies are validated using the XML Schema.
To run the validation task only:
- Get set-up
- run the following command:
mvn clean process-sources
To build the documentation:
- Get set-up
- run the following command:
mvn clean compile
This:
- validates the CERIF vocabularies
- transforms the CERIF data model into RDF, storing the result as
target/CERIF.rdf
- transforms the CERIF vocabularies into RDF, storing the result into the
target/vocab/rdf
directory - transforms the CERIF vocabularies into HTML, storing the result into
target/vocab/html
directory - copies the CERIF vocabularies in XML into the
target/vocab/xml
directory
The CERIF Publishing tool contains the source files to build the CSS stylesheet used by the vocabularies when displayed in HTML format.
The source uses the Bulma CSS framework and is written using the SCSS syntax.
The source CERIF artifacts are expressed in XML.
The CERIF Publishing tool hosts the XSLTransformation stylesheets used to produce files from these sources.