|
Revision 142, 431 bytes
(checked in by schst, 5 years ago)
|
added example for tmpl
added example for whitespace attribute
|
- Property svn:eol-style set to
native
- Property svn:keywords set to
Author Date Id Revision
|
| Line | |
|---|
| 1 |
<!-- $Id$ --> |
|---|
| 2 |
<patTemplate:tmpl name="page"> |
|---|
| 3 |
This page contains several templates.<br /> |
|---|
| 4 |
In some, whitespace characters will be removed, in some they are kept.<br /><br /> |
|---|
| 5 |
|
|---|
| 6 |
<patTemplate:tmpl name="keepWS" whitespace="keep"> |
|---|
| 7 |
I |
|---|
| 8 |
|
|---|
| 9 |
want |
|---|
| 10 |
|
|---|
| 11 |
my |
|---|
| 12 |
|
|---|
| 13 |
cookies!<br /><br /> |
|---|
| 14 |
</patTemplate:tmpl> |
|---|
| 15 |
|
|---|
| 16 |
<patTemplate:tmpl name="trimWS" whitespace="trim"> |
|---|
| 17 |
I |
|---|
| 18 |
|
|---|
| 19 |
want |
|---|
| 20 |
|
|---|
| 21 |
my |
|---|
| 22 |
|
|---|
| 23 |
cookies!<br /><br /> |
|---|
| 24 |
</patTemplate:tmpl> |
|---|
| 25 |
|
|---|
| 26 |
</patTemplate:tmpl> |
|---|