xproc vs xslt
Posted: Tue Feb 10, 2015 9:40 am
Hi,
after some (more or less successfull) experiments with xproc I'm wondering if it wouln't be better to implement everything in xslt and add the missing steps (for instance fop and schematron validation) as custom exention elements written in java.
My argumentation:
Thanks and regards,
Patrik
after some (more or less successfull) experiments with xproc I'm wondering if it wouln't be better to implement everything in xslt and add the missing steps (for instance fop and schematron validation) as custom exention elements written in java.
My argumentation:
- calling xslt from xproc you can only use string parameters (trying to fill in for instance a boolean prameter will result in conversion error)
- The integration of xslt into oxygen "feels" much more advanced than that of xproc.
- Direct output of messgages from xslt (for debugging and logging with a link to the code that caused the output). (Running an xslt from xproc the xslt messages are not visible at all.)
- I will have to add some custom extension written in java anyway. (So learning how to do it will be necessary in both cases.)
Thanks and regards,
Patrik