Examples
Redirection with the PFC
<page path="/a">
<action>
<result page="page-b" instance-passing="redirect"/>
</action>
</page<page id="page-b" path="/b">
...
</page>Implementing XML services with the PFC
<page path="/xmlrpc" model="xml-rpc.xpl"><p:config
xmlns:p="http://www.orbeon.com/oxf/pipeline"
xmlns:oxf="http://www.orbeon.com/oxf/processors">
<!-- The XML submission is available on the "instance" input -->
<p:param name="instance" type="input" schema-href="request.rng"/>
<!-- Processing of the XML submission (here we just return the request) -->
<p:processor name="oxf:identity">
<p:input name="data" href="#instance"/>
<p:output name="data" id="response"/>
</p:processor>
<!-- TODO: update this, it's obsolete, must use xml-converter -->
<!-- Generate a response -->
<p:processor name="oxf:xml-serializer">
<p:input name="data" href="#response" schema-href="response.rng"/>
<p:input name="config">
<config/>
</p:input>
</p:processor>
</p:config>Last updated