Dashboard > Pulse v1.2 > ... > pulse Files > macro-ref
  Pulse v1.2 Log In | Sign Up   View a printable version of the current page.  
  macro-ref
Added by Jason Sankey, last edited by Jason Sankey on Apr 17, 2006
Labels: 
(None)

Pulse Manual Index

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.

Zutubi wiki is Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.2.10 Build:#528 Nov 29, 2006) - Bug/feature request - Contact Administrators