root/trunk/examples/templates/example_filter_input_stripcomments.tmpl

Revision 128, 0.6 kB (checked in by schst, 5 years ago)

prepared complete example structure
added some examples

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1 <!-- $Id$ -->
2 <patTemplate:tmpl name="root" type="condition" conditionvar="foo">
3         <!--
4                 This is a comment
5                 It is not allowed to place text here, but the
6                 input filter will strip it before it is
7                 parsed by the reader
8         -->
9         <patTemplate:sub condition="bar">
10         You said: BAR!<br>
11         </patTemplate:sub>
12        
13         <!--
14                 This is a comment
15                 It is not allowed to place text here, but the
16                 input filter will strip it before it is
17                 parsed by the reader
18         -->
19         <patTemplate:sub condition="__default">
20         You said: anything except BAR!<br>
21         <!-- Just another comment -->
22         </patTemplate:sub>
23
24 </patTemplate:tmpl>
Note: See TracBrowser for help on using the browser.