Re: Re: can't get 2 processor in 1 pipeline to work
Posted by ncrofts on May 12, 2011; 7:33am
URL: https://discuss.orbeon.com/can-t-get-2-processor-in-1-pipeline-to-work-tp3514050p3516668.html
Hi,
The general rule with XML pipelines is to ensure that every input/output is terminated. As such your solution is just missing a couple of things.
Firstly, in "dir2.xpl" you haven't specified an input parameter with name "dir_result". Without this the "#result" won't be pulled through the pipeline.
Secondly, once you define that input you will need to make sure that you use it. There are several options, but in a case where you don't really care about that input I would connect it to an "oxf:null-serializer" processor. This will effectively 'sink' the input.
With this done, the "dir.xpl" processor will run first because "dir2.xpl" is then dependent on the output of "dir.xpl".
Hope this helps.
Regards,
Neil