| 1 |
<?xml version="1.0" encoding="utf-8"?> |
| 2 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" |
| 3 |
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 4 |
|
| 5 |
<html xmlns:tal="http://purl.org/petal/1.0/"> |
| 6 |
<body> |
| 7 |
|
| 8 |
<div> |
| 9 |
printf1: <p tal:replace="printf:'%s' $dog">name of dog</p> |
| 10 |
printf2: <p tal:replace="printf:'%02d' $children_count"># of children</p> |
| 11 |
printf3: <p tal:replace="printf:'%0.2f' $bank_balance">bank acct</p> |
| 12 |
printf4: <p tal:replace="printf:'$%0.2f' $bank_balance">bank acct</p> |
| 13 |
printf5: <p tal:replace="printf:'Balance = $%0.2f' $bank_balance">bank acct</p> |
| 14 |
printf6: <p tal:replace="printf:'%s and %s' $dad $mom">love</p> |
| 15 |
</div> |
| 16 |
</body> |
| 17 |
</html> |
| 18 |
|