root/trunk/examples/xml/defines-static.xml

Revision 77, 160 bytes (checked in by schst, 2 years ago)

First version of static tags. This enables you to build a static registry or create objects for a factory. Currently static tags should only be used at root levels, if used as nested tags, the behavior is undefined.

Line 
1 <defines>
2   <tag name="registry" type="Registry" static="true">
3     <attribute name="foo" type="string"/>
4   </tag>
5   <tag name="bar" type="integer"/>
6 </defines>
Note: See TracBrowser for help on using the browser.