[Home] [By Thread] [By Date] [Recent Entries]
Colin Adams wrote:
From: Abel Braaksma <abel.online@xxxxxxxxx> In XSLT 1.0, it was not allowed to have both. The commandline syntax was different for -it and without -it: saxon -it main yourstylesheet.xslt saxon yourstylesheet.xslt yourinput.xml I believe Michael chose not to break backward compatibility for commandline syntax and added -s to extend Saxon with the new feature of XSLT 2: saxon -it main -s yourinput.xml yourstylesheet.xslt Of course, one can argue that this were a viable calling convention too: saxon -it main yourstylesheet.xslt yourinput.xml but it was not allowed previously and raised an error, I believe. For the record, it was discussed in this thread: http://www.nabble.com/Is-Saxon-%28on-commandline%29-not-capable-of-handling-both-initial-template-and-an-input-source-document--tf2928226.html#a8186520 -- Abel
|

Cart



