The processor execution ordering rules in XPL that make processors with no
output execute *before* all other processors make it difficult to accomplish
my goal of pulling a document from the session and then immediately removing
that same document to ensure it isn't processed again.

For example, I want to:
1. pull out my "ErrorList" from the session
2. immediately remove the ErrorList from the session to avoid processing it
again

XPL code to accomplish above:
<!-- step 1 -->
<p:processor uri="oxf/processor/session-generator">
        <p:input name="config">
                <key>ErrorList</key>
        </p:input>
        <p:output name="data" id="errorlist"/>
</p:processor>
<!-- step 2 -->
<p:processor uri="oxf/processor/session-serializer">
        <p:input name="data">
                <ErrorList xsi:nil="true"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
        </p:input>
</p:processor>


But step 2 executes 1st, which won't work.

Question: Is there some way to force step 2 to execute 2nd, after step 1??

Thanks.

-Scott
UC Berkeley Center for Document Engineering

_______________________________________________
oxf-users mailing list
[EMAIL PROTECTED]
http://mail.orbeon.com/mailman/listinfo/oxf-users

Reply via email to