root/trunk/examples/templates/example_api_setattribute.tmpl

Revision 144, 397 bytes (checked in by schst, 5 years ago)

added exmaples for setAttribute() and readTemplatesFromInput()

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1 <!-- $Id$ -->
2 <patTemplate:tmpl name="main">
3 This is the main template<br />
4         <patTemplate:tmpl name="child">
5         This is a child template.<br />
6         </patTemplate:tmpl>
7 You may set the following attributes of a template:
8 <ul>
9         <li>addsystemvars</li>
10         <li>loop</li>
11         <li>src (only if it has not been loaded)</li>
12         <li>unusedvars</li>
13         <li>useglobals</li>
14         <li>visibility</li>
15 </ul>
16 </patTemplate:tmpl>
17
Note: See TracBrowser for help on using the browser.