Extension points in an XProc library


  In XSLT, if a generic stylesheet wants to offer a extension
point, where an importing stylesheet can "plug" some processing,
it can call an empty named template, that the final user can
override in his own stylesheet by providing some implementation
of it.  Or anyway a user can always override a template rule.

  But in XProc, there is no import priority, and one can never
override any step.  If two steps are found with the same name,
that is a static error.

  How would you then offer extension points the same way in an
XProc library?


Florent Georges

Received on Friday, 1 February 2013 18:09:37 UTC