[ <About> <Executing XSLTs> ]

About

A major advantage of XML is the ability to use tools such as XPath to query a file or xsl to transform a file. Example transformations could be xml-to-xml (eg Chaos-XML to Chado-XML and back), xml-to-html, or xml to any other format (eg GFF)

You can obtain the Chaos-XML XSL transformations by getting the Bio-Chaos distribution, unpacking it and looking in the

xsl
directory. Or you can examine them in this directory

Executing XSLTs

You will need an xslt processor. We recommend xsltproc, although you should be able to use any. Command line options will differ. For xsltproc it is:


xsltproc xsl/cx-chaos-to-chado.xsl sample-data/Rab1.chaos-xml

          

If you have installed the Bio-Chaos distribution, you can also perform transforms in the following manner. You do not need to specify the location of the xsl file - the installed xsls will be used


cx-apply-xslt cx-chaos-to-chado sample-data/Rab1.chaos-xml