W3C home > Mailing lists > Public > xproc-dev@w3.org > February 2013

Extension points in an XProc library

From: Florent Georges <fgeorges@fgeorges.org>
Date: Fri, 1 Feb 2013 19:08:45 +0100
Message-ID: <CADyR_r13iyWAnbtw5af9=_yuyuTK=o0syunwesVk8wkVS86eKg@mail.gmail.com>
To: XProc Dev <xproc-dev@w3.org>
  Hi,

  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?

  Regards,

-- 
Florent Georges
http://fgeorges.org/
http://h2oconsulting.be/
Received on Friday, 1 February 2013 18:09:37 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 1 February 2013 18:09:37 GMT