Login  Register

Re: Viewing XPL / pipeline output

Posted by Tom Grahame on Jan 29, 2010; 1:46pm
URL: https://discuss.orbeon.com/Viewing-XPL-pipeline-output-tp1415414p1415465.html

Hi Robin,

The method I favour is to monitor the logs in real time as the xpl is executed. You can configure each processor in a pipeline to print the xml passing through it to the standard orbeon log, with a debug attribute, like so:

<p:processor name="oxf:identity">
    <p:input name="config" href="#instance" debug="instance-input"/>
    <p:output name="data" ref="instance" debug="instance-output"/>
</p:processor>

Make sure that you have logging enabled as described here:

http://wiki.orbeon.com/forms/doc/developer-guide/xforms-logging

Exactly how you will montior the logs will depend upon your platform.

Keep in mind that:
If the processor does not execute, nothing will pass through it and nothing will print;
Mal-formed XML will cause the processor to throw an exception with the debug attribute set.

Hope that helps,

Tom