Source Include Directive

Attributes

Attribute Required Description
path no URL used to reference a block directive as a URL. Is useful as an alternative form to the resource include during development.

Description

Includes a block defined by the block descriptor referenced by the path attribute value.

Sample XML

<container name="tutorial">

     <classloader>
       <classpath>
         <repository>
           <resource id="tutorial:composition-api" version="1.0"/>
         </repository>
       </classpath>
     </classloader>

     <include name="publisher">
       <source path="conf/include.xml"/>
     </include>

</container>