The
curi:
scheme is used to create a level of URI address indirection and
is available only within a DPML program.
URI indirection is similar to using pointers in the C language.
In the curi:
scheme a URI immediately follows the
scheme prefix.
That URI must identify a resource containing an XML fragment
of the
canonical
type URI:
When the curi
based URI is referenced the
actual URI used is the one in the XML document.
For example the following instruction;
<instr>
<type>copy</type>
<operand>curi:ffcpl:/myCURI.xml</operand>
<target>this:response</target>
</instr>
when referring to the following XML document:
<uri>ffcpl:/data.xml</uri>
will copy the contents of the resource
ffcpl:/data.xml
to the response.
You may also want to examine the accessor
xpur
which can extract a URI from an xpath location in an arbitrary document into a canonical URI document.