- From: <Toman_Vojtech@emc.com>
- Date: Tue, 28 Apr 2009 02:32:27 -0400
- 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:choose> <p:when test="p:step-available('acme:do-some-magic')"> <acme:do-some-magic/> </p:when> <p:otherwise> ... Do the magic in some other way, or fail, or.... </p:otherwise> </p:choose> Regards, Vojtech
Received on Tuesday, 28 April 2009 06:33:24 UTC