| 1 |
chado-xml/xsl |
| 2 |
------------ |
| 3 |
|
| 4 |
XSLT programs for transforming Chado-XML - either into other formats, |
| 5 |
or other Chado-XML forms (eg with or without macros). |
| 6 |
|
| 7 |
See: http://www.w3.org/Style/XSL |
| 8 |
|
| 9 |
|
| 10 |
Running an XSLT transformation |
| 11 |
------------------------- |
| 12 |
|
| 13 |
You can use any xslt processor you like with these; both Xalan and |
| 14 |
xsltproc can be run from the command line. For integrating with an |
| 15 |
application, you can use Xalan (java) or Lib::XSLT (perl). |
| 16 |
|
| 17 |
Xalan can be downloaded from http://xml.apache.org/xalan-j |
| 18 |
|
| 19 |
xsltproc is part of libxslt, available from http://xmlsoft.org/XSLT/ |
| 20 |
|
| 21 |
To run on the command line with xsltproc: |
| 22 |
|
| 23 |
$ cd gmod/schema/chado/chado-xml |
| 24 |
$ xsltproc xsl/chado-insert-macros.xsl examples/CG10833.expanded.chado-xml |
| 25 |
|