diff options
author | Luke S. <luke@motimail.com> | 2007-07-19 20:27:49 +0000 |
---|---|---|
committer | Luke S. <luke@motimail.com> | 2007-07-19 20:27:49 +0000 |
commit | 088d12c8c9eba9dd3c8e1e30163b5a00fba7528a (patch) | |
tree | 2ad4430a9794399c8e818b75eaa2c5ede7674d4d /thml2osis/xslt/README | |
parent | 77b9b9a6246562ed64f03b94b3684e6722e09aaf (diff) | |
download | sword-tools-088d12c8c9eba9dd3c8e1e30163b5a00fba7528a.tar.gz |
Initial import of thml2osis.xslt project.
git-svn-id: https://www.crosswire.org/svn/sword-tools/trunk@88 07627401-56e2-0310-80f4-f8cd0041bdcd
Diffstat (limited to 'thml2osis/xslt/README')
-rw-r--r-- | thml2osis/xslt/README | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/thml2osis/xslt/README b/thml2osis/xslt/README new file mode 100644 index 0000000..1523e60 --- /dev/null +++ b/thml2osis/xslt/README @@ -0,0 +1,35 @@ +thml2osis +========= + +This project consists of the XSLT file thml2osis.xslt which converts ThML to +OSIS files, and accompanying tests. In order to use thml2osis, you will +need some kind of XSLT processor. Many XML libraries may have this +functionality, and the command-line Unix tool 'xsltproc' can also be used. +XSLT was chosen for this project to make this tool as portable as possible, +and because XSLT is ideally suited for this type of task, despite its +limitations. + +Usage: +------ +If you have xsltproc installed, thml2osis can be used from a Unix shell +prompt as below: + +xsltproc --novalid thml2osis.xslt your_book.thml > your_book.osis + + +Limitations +----------- + +thml2osis has been developed using the OSIS spec and existing ThML texts +that were wanted in OSIS format. Also, it is almost impossible to convert +perfectly from ThML to OSIS given the differences in the formats, and the +flexibility of both formats. So, don't be surprised if your ThML file is +not converted completely! In particular: + + - Many fields in the ThML headers will be silently discarded where equivalent + fields do not exist in OSIS. + - It is possible that markup and text in the body will be discarded + silently, though every effort will be made to avoid this in v1.0 and + later. + - Stylesheets and styling information will generally be discarded. + |