W3C home > Mailing lists > Public > xproc-dev@w3.org > April 2009

RE: XProc is extensible. How so?

From: <Toman_Vojtech@emc.com>
Date: Tue, 28 Apr 2009 02:32:27 -0400
Message-ID: <6E216CCE0679B5489A61125D0EFEC7870F646062@CORPUSMX10A.corp.emc.com>
To: <xproc-dev@w3.org>
> "Costello, Roger L." <costello@mitre.org> writes:
> > Does that mean a pipeline may run on one XProc processor 
> but not another?
> Yes. A pipeline that uses extension steps may not run on another
> processor.

Even if the pipeline contains extension steps unsupported by some
processors, it may still be possible to run the pipeline with these
processors. XProc contains a built-in XPath function p:step-available,
which allows you to do things like:

  <p:when test="p:step-available('acme:do-some-magic')">
    ... Do the magic in some other way, or fail, or....

Received on Tuesday, 28 April 2009 06:33:24 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:03:04 UTC