Beispiel #1
0
def main():
    usage = """dcoi2folia
  by Maarten van Gompel (proycon)
  Tilburg University / Radboud University Nijmegen
  2012 - Licensed under GPLv3

This conversion script converts one or more D-Coi XML documents to FoLiA.

Usage: dcoi2folia [options] file-or-dir1 file-or-dir2 ..etc.."""

    xslt.main('dcoi2folia.xsl','folia.xml', usage)
Beispiel #2
0
def main():
    usage = """folia2dcoi
  by Maarten van Gompel (proycon)
  Tilburg University / Radboud University Nijmegen
  2012 - Licensed under GPLv3

This conversion script converts one or more FoLiA documents to D-Coi XML format, omitting
any annotations that can not be represented in the D-Coi format.

Usage: folia2dcoi [options] file-or-dir1 file-or-dir2 ..etc.."""

    xslt.main('folia2dcoi.xsl','dcoi.xml', usage)
Beispiel #3
0
def main():
    usage = """folia2html
  by Maarten van Gompel (proycon)
  Tilburg University / Radboud University Nijmegen
  2014 - Licensed under GPLv3


This conversion script converts one or more FoLiA documents to a semi-interactive HTML document for
viewing in a web-browser.

Usage: folia2html [options] file-or-dir1 file-or-dir2 ..etc.."""

    xslt.main('folia2html.xsl','html',usage)
def main():
    usage = """folia2html
  by Maarten van Gompel (proycon)
  Tilburg University / Radboud University Nijmegen
  2014 - Licensed under GPLv3

  modified to use a simplified and altered stylesheet by Martijn van der Klis (mhkuu), UiL OTS labs, Utrecht University, 2015

This conversion script converts one or more FoLiA documents to a semi-interactive HTML document for
viewing in a web-browser.
Usage: folia2html [options] file-or-dir1 file-or-dir2 ..etc.."""

    xslt.main(os.path.abspath("stylesheets/folia2html.xsl"), "html", usage)