On Thu, 2014-04-10 at 12:11 -0400, DM Smith wrote: > In your xslt it is possible to call Java code. Here is how I do it > using Xalan and JSword:
Wow! Thanks a lot! I have added comment https://luther.ceplovi.cz/bugzilla/show_bug.cgi?id=180#c2 to my bug and I will have to digest it sometime. I was using Saxon because of its incredible speed (I went from 5 minutes with xsltproc to 25sec with Saxon9), so I will check how to invoke jSword from Saxon, but it should be possible as well (at least according to http://www.saxonica.com/documentation/#!extensibility and http://www.cafeconleche.org/books/xmljava/chapters/ch17s03.html). BTW, my XSLT script is http://luther.ceplovi.cz/git/czekms-csp_bible.git/tree/CEP2OSIS.xsl if you have any comments on it (apparently your XSLT abilities are much higher than mine). Thanks a lot, Matěj -- http://www.ceplovi.cz/matej/, Jabber: mc...@ceplovi.cz GPG Finger: 89EF 4BC6 288A BF43 1BAB 25C3 E09F EF25 D964 84AC The state is the great fictitious entity by which everyone seeks to live at the expense of everyone else. -- Frederick Bastiat
signature.asc
Description: This is a digitally signed message part
_______________________________________________ sword-devel mailing list: sword-devel@crosswire.org http://www.crosswire.org/mailman/listinfo/sword-devel Instructions to unsubscribe/change your settings at above page