Macro References
A macro reference is used to evaluate the body of a macro at an arbitraty point in a pulse™ file. The macro reference is effectively replaced with the body of the macro. To illustrate:
<macro name="mack">
<property name="foo" value="bar"/>
</macro>
<macro-ref macro="${mack}"/>
is equivalent to:
<property name="foo" value="bar"/>
The body of the macro, including references to named entities, is evaluated at the point (and withing the scope) of the macro reference.
Attributes
| Attribute |
Description |
| macro |
The macro to be referenced. |
Child Elements
None.
Examples
See macro.