@author: Alberto Nogales ([email protected]) and Jesus Mayor
A tool to translate between CVN (xml files) to Cerif (xml files) and vice-versa. Developed in Alcalá University (Spain) by IERU research group (http://www.ieru.org/). Any incidence please submit to the email below.
Saxon is an XSLT and XQuery processor created by Michael Kay. There are open-source and also closed-source commercial versions. The latest version of Saxon is version 9.5, first released on 19 April 2013 To execute our translator, we recomend Saxon-HE. Saxon-HE (home edition) is an open source product available under the Mozilla Public License version 1.0. It provides implementations of XSLT 2.0, XQuery 1.0, and XPath 2.0 at the basic level of conformance defined by W3C. We can download it from this link.
When you have decompressed the processor, you can use this commands to translate easily:
-
CVN-Cerif:
java -jar saxon9he.jar -ext:on InputCVNFile(xml) cvn-to-cerif.xsl > OutputFileCerif(xml)
Example:
java -jar saxon9he.jar -ext:on CVNExample.xml cvn-to-cerif.xsl > CVN_output.xml
-
Cerif-CVN:
java -jar saxon9he.jar -ext:on InputCerifFile(xml) cerif-to-cvn.xsl > OutputFileCVN(xml)
Example:
java -jar saxon9he.jar -ext:on CerifExample.xml
cerif-to-cvn.xsl > Cerif_output.owl
The xsl sheets we have used, are stored in the corresponding folder.