XProc steps
A | B | C | D | E | F | G | H | I| J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z
p:load
The functionality of the <p:load> step is very similar to the one of <p:document>. Both steps load in external documents and accept appropriate URIs or inline generated documents. The primary difference is that <p:document> is a XProc element and <p:load> a step. This means it can appear at other positions in the stylesheet as <p:document> can. Furthermore, the step supports a validation against a DTD (insofar as it is deposited in the document to be load in). If the DTD is invalid or nonexistent, a dynamic error will be outputted.
Example
In the following example the most trivial possible use of <p:load> is demonstrated.