-
Notifications
You must be signed in to change notification settings - Fork 12
/
ex6.xtpl
executable file
·31 lines (30 loc) · 1.07 KB
/
ex6.xtpl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<!-- BEGIN: main -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Language" content="en" />
<meta name="GENERATOR" content="Co-Comp Ltd" />
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>example 6</title>
</head>
<!-- $HeadURL: https://xtpl.svn.sourceforge.net/svnroot/xtpl/trunk/ex6.xtpl $
$Id: ex6.xtpl 16 2007-01-11 03:02:49Z cocomp $ -->
<body>
<p>With SetNullBlock you can set the default value to put if the block doesn't get parsed.<br />
the default is to wipe it out, but you can set it up to put a custom string.<br />
<!-- BEGIN: block -->
<br />{INTRO_TEXT}<br />
<b>sub blocks begins here ==> [</b>
<!-- BEGIN: subblock1 -->
<b>this is subblock1 _PARSED_</b>
<!-- END: subblock1 -->
<!-- BEGIN: subblock2 -->
<b>this is subblock2 _PARSED_</b>
<!-- END: subblock2 -->
<b>] <== sub blocks ends here.</b><br />
<!-- END: block -->
<br /><br />..got it? :)
</p>
</body>
</html>
<!-- END: main -->