View Single Post
Old 09-06-2015, 10:36 AM   #6
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,435
Karma: 27757438
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
I dont see the difference. In either case you are applying an XSLT transform to the text. So all you have to do is hit save in the editor, then run your tool with calibre-debug. If you want it integrated in the editor, to avoid the separate step of running your tool, you will need to write an editor plugin for that.

Although, if I were you, I'd ditch XSLT and just directly use lxml. Much nicer to use than XSLT.
kovidgoyal is offline   Reply With Quote