I have an XSL file and an XSD file on my local disk.
The XSL file is supposed to transform the XSD file to OWL format.
What freeware tool can I use apply this transformation? Thanks.
I have an XSL file and an XSD file on my local disk.
The XSL file is supposed to transform the XSD file to OWL format.
What freeware tool can I use apply this transformation? Thanks.
The XSL file is supposed to transform the XSD file to OWL format.
What freeware tool can I use apply this transformation?
You can use any existing free XSLT processor, but it should implement the version of XSLT as specified of the version
attribute of the <xsl:stylesheet>
(top) element of the stylesheet module.
Here is a rather incomplete list of such XSLT processors:
XSLT 1.0 processors:
JD.
XSLT 2.0 processors
IBM WebSphere XML Pack (not free).
Intel® SOA Expressway XSLT 2.0 Processor (not free).
XSLT IDEs
MS Visual Stusio (2010 or 2008) -- works only with XslCompiledTransform
oXygen -- works with all mentioned XSLT processors
XSelerator -- works with all mentioned XSLT processors
Kernow: simple, Java-based IDE for Saxon.
Not that XSLT 1.0 and XSLT 2.0 are two different transformation languages. You should check the namespace used in the XSL file to find out if you need an XSLT 1.0 or XSLT 2.0 processor (the most probable answer is '1.0').
Your web browser already has an XSLT 1.0 processor, though it may not be convenient to use it. You have to modify the input document (XSD in your case) to add the following line at the top (where xsd2owl.xsl
is the path to your XSLT). Then, you just have to open the file with the browser.
<?xml-stylesheet href="xsd2owl.xsl" type="text/xsl" ?>
Also, xsltproc is the Libxslt-based command-line tool that does XSLT 1.0 tranformation and has some EXSLT extensions. You'll find it packaged for every Linux distribution. Follow this link for Windows downloads.