A directive for inserting values retrieved with LDPath. It can be used in several forms:
Value Insertion (without body):
Allows inserting the value of a path expression. The path expression should specify an XML schema type for the
type conversion. If no type is given, string conversion is assumed. If the expression would return several values,
only the first result is taken.
<@ldpath path="... :: xsd:type">
Value Iteration (with body):
Allows iterating over result nodes of a path expression. Further path expressions can be used to select the
values of each result node.
<@ldpath path="...">
...
<@ldpath path="...">
...
</@ldpath>
If a loop variable is given, it will be bound to the context node. The context node is also implicitly available
as the variable "context".
Author: Sebastian Schaffert