kwartz 3.0.0 → 3.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (179) hide show
  1. data/ChangeLog +36 -1
  2. data/LGPL +504 -0
  3. data/README.txt +16 -2
  4. data/bin/kwartz +1 -1
  5. data/doc-api/classes/Kwartz.html +47 -1
  6. data/doc-api/classes/Kwartz/Assertion.html +6 -6
  7. data/doc-api/classes/Kwartz/AssertionError.html +6 -6
  8. data/doc-api/classes/Kwartz/AttrInfo.html +42 -42
  9. data/doc-api/classes/Kwartz/BaseError.html +12 -12
  10. data/doc-api/classes/Kwartz/BaseTranslator.html +210 -43
  11. data/doc-api/classes/Kwartz/CharacterType.html +24 -24
  12. data/doc-api/classes/Kwartz/CommandOptionError.html +7 -7
  13. data/doc-api/classes/Kwartz/CommandOptions.html +49 -49
  14. data/doc-api/classes/Kwartz/Config.html +6 -1
  15. data/doc-api/classes/Kwartz/ConvertError.html +14 -14
  16. data/doc-api/classes/Kwartz/Converter.html +31 -30
  17. data/doc-api/classes/Kwartz/CssStyleParser.html +79 -57
  18. data/doc-api/classes/Kwartz/Defun.html +313 -0
  19. data/doc-api/classes/Kwartz/DocumentRuleset.html +58 -58
  20. data/doc-api/classes/Kwartz/ElementExpander.html +32 -32
  21. data/doc-api/classes/Kwartz/ElementInfo.html +29 -29
  22. data/doc-api/classes/Kwartz/ElementRuleset.html +126 -96
  23. data/doc-api/classes/Kwartz/EperlHandler.html +108 -84
  24. data/doc-api/classes/Kwartz/EperlTranslator.html +7 -7
  25. data/doc-api/classes/Kwartz/ErubisHandler.html +2 -2
  26. data/doc-api/classes/Kwartz/ErubisTranslator.html +8 -8
  27. data/doc-api/classes/Kwartz/ErubyHandler.html +2 -220
  28. data/doc-api/classes/Kwartz/ErubyTranslator.html +7 -7
  29. data/doc-api/classes/Kwartz/ExpandStatement.html +20 -20
  30. data/doc-api/classes/Kwartz/Handler.html +122 -117
  31. data/doc-api/classes/Kwartz/HandlerArgument.html +215 -0
  32. data/doc-api/classes/Kwartz/Helper.html +112 -0
  33. data/doc-api/classes/Kwartz/Helper/ActionViewHelper.html +221 -0
  34. data/doc-api/classes/Kwartz/Helper/RailsTemplate.html +630 -0
  35. data/doc-api/classes/Kwartz/JstlHandler.html +208 -193
  36. data/doc-api/classes/Kwartz/JstlTranslator.html +15 -15
  37. data/doc-api/classes/Kwartz/KwartzError.html +6 -6
  38. data/doc-api/classes/Kwartz/Main.html +39 -23
  39. data/doc-api/classes/Kwartz/NativeExpression.html +18 -18
  40. data/doc-api/classes/Kwartz/NativeStatement.html +25 -25
  41. data/doc-api/classes/Kwartz/Node.html +6 -6
  42. data/doc-api/classes/Kwartz/PIErubisHandler.html +113 -0
  43. data/doc-api/classes/Kwartz/PIErubisTranslator.html +200 -0
  44. data/doc-api/classes/Kwartz/ParseError.html +6 -6
  45. data/doc-api/classes/Kwartz/PhpHandler.html +102 -83
  46. data/doc-api/classes/Kwartz/PhpTranslator.html +14 -14
  47. data/doc-api/classes/Kwartz/PresentationLogicParser.html +136 -128
  48. data/doc-api/classes/Kwartz/PrintStatement.html +19 -19
  49. data/doc-api/classes/Kwartz/RailsHandler.html +121 -118
  50. data/doc-api/classes/Kwartz/RailsTranslator.html +7 -7
  51. data/doc-api/classes/Kwartz/RubyHandler.html +349 -0
  52. data/doc-api/classes/Kwartz/RubyStyleParser.html +85 -85
  53. data/doc-api/classes/Kwartz/RubyTranslator.html +218 -0
  54. data/doc-api/classes/Kwartz/StatementHelper.html +479 -0
  55. data/doc-api/classes/Kwartz/StrutsTranslator.html +12 -12
  56. data/doc-api/classes/Kwartz/TagInfo.html +28 -28
  57. data/doc-api/classes/Kwartz/TextConverter.html +28 -28
  58. data/doc-api/classes/Kwartz/Translator.html +42 -42
  59. data/doc-api/classes/Kwartz/Util.html +284 -0
  60. data/doc-api/created.rid +1 -1
  61. data/doc-api/files/__/README_txt.html +30 -3
  62. data/doc-api/files/kwartz/assert_rb.html +1 -1
  63. data/doc-api/files/kwartz/binding/eperl_rb.html +2 -2
  64. data/doc-api/files/kwartz/binding/erubis_rb.html +3 -3
  65. data/doc-api/files/kwartz/binding/eruby_rb.html +3 -2
  66. data/doc-api/files/kwartz/binding/jstl_rb.html +2 -2
  67. data/doc-api/files/kwartz/binding/php_rb.html +2 -2
  68. data/doc-api/files/kwartz/binding/pierubis_rb.html +116 -0
  69. data/doc-api/files/kwartz/binding/rails_rb.html +2 -2
  70. data/doc-api/files/kwartz/binding/ruby_rb.html +115 -0
  71. data/doc-api/files/kwartz/binding/struts_rb.html +1 -1
  72. data/doc-api/files/kwartz/config_rb.html +2 -2
  73. data/doc-api/files/kwartz/converter_rb.html +3 -2
  74. data/doc-api/files/kwartz/defun_rb.html +116 -0
  75. data/doc-api/files/kwartz/error_rb.html +1 -1
  76. data/doc-api/files/kwartz/helper/rails_rb.html +123 -0
  77. data/doc-api/files/kwartz/main_rb.html +5 -2
  78. data/doc-api/files/kwartz/node_rb.html +2 -2
  79. data/doc-api/files/kwartz/parser_rb.html +2 -2
  80. data/doc-api/files/kwartz/translator_rb.html +2 -2
  81. data/doc-api/files/kwartz/util/assert-text-equal_rb.html +1 -1
  82. data/doc-api/files/kwartz/util/testcase-helper_rb.html +2 -2
  83. data/doc-api/files/kwartz/util_rb.html +107 -0
  84. data/doc-api/files/kwartz_rb.html +3 -2
  85. data/doc-api/fr_class_index.html +11 -0
  86. data/doc-api/fr_file_index.html +5 -0
  87. data/doc-api/fr_method_index.html +242 -190
  88. data/doc/p-pattern.html +94 -94
  89. data/doc/reference.html +847 -612
  90. data/doc/users-guide.html +744 -241
  91. data/examples/rails1/README +2 -2
  92. data/examples/rails1/application_helper.rb +2 -27
  93. data/examples/rails1/link_to.plogic +5 -5
  94. data/examples/rails1/list.plogic +2 -2
  95. data/examples/rails2/app/controllers/application.rb +14 -0
  96. data/examples/rails2/app/controllers/groups_controller.rb +47 -0
  97. data/examples/rails2/app/controllers/members_controller.rb +56 -0
  98. data/examples/rails2/app/helpers/application_helper.rb +6 -0
  99. data/examples/rails2/app/helpers/groups_helper.rb +2 -0
  100. data/examples/rails2/app/helpers/members_helper.rb +2 -0
  101. data/examples/rails2/app/models/group.rb +2 -0
  102. data/examples/rails2/app/models/member.rb +3 -0
  103. data/examples/rails2/app/views/groups/_form.html +30 -0
  104. data/examples/rails2/app/views/groups/_form.plogic +11 -0
  105. data/examples/rails2/app/views/groups/_link.plogic +19 -0
  106. data/examples/rails2/app/views/groups/_read.plogic +7 -0
  107. data/examples/rails2/app/views/groups/edit.cfg.yaml +2 -0
  108. data/examples/rails2/app/views/groups/edit.html +26 -0
  109. data/examples/rails2/app/views/groups/edit.plogic +9 -0
  110. data/examples/rails2/app/views/groups/list.html +48 -0
  111. data/examples/rails2/app/views/groups/list.plogic +32 -0
  112. data/examples/rails2/app/views/groups/new.cfg.yaml +2 -0
  113. data/examples/rails2/app/views/groups/new.html +27 -0
  114. data/examples/rails2/app/views/groups/new.plogic +9 -0
  115. data/examples/rails2/app/views/groups/show.html +27 -0
  116. data/examples/rails2/app/views/groups/show.plogic +2 -0
  117. data/examples/rails2/app/views/layouts/groups.html +23 -0
  118. data/examples/rails2/app/views/layouts/groups.plogic +11 -0
  119. data/examples/rails2/app/views/layouts/members.html +23 -0
  120. data/examples/rails2/app/views/layouts/members.plogic +11 -0
  121. data/examples/rails2/app/views/layouts/members2.html +24 -0
  122. data/examples/rails2/app/views/layouts/members2.plogic +11 -0
  123. data/examples/rails2/app/views/members/_form.plogic +27 -0
  124. data/examples/rails2/app/views/members/_link.plogic +19 -0
  125. data/examples/rails2/app/views/members/_read.plogic +29 -0
  126. data/examples/rails2/app/views/members/edit.cfg.yaml +6 -0
  127. data/examples/rails2/app/views/members/edit.html +27 -0
  128. data/examples/rails2/app/views/members/edit.plogic +10 -0
  129. data/examples/rails2/app/views/members/list.html +53 -0
  130. data/examples/rails2/app/views/members/list.plogic +32 -0
  131. data/examples/rails2/app/views/members/new.html +61 -0
  132. data/examples/rails2/app/views/members/new.plogic +17 -0
  133. data/examples/rails2/app/views/members/show.html +41 -0
  134. data/examples/rails2/app/views/members/show.plogic +3 -0
  135. data/examples/rails2/db/create-tables.mysql.sql +27 -0
  136. data/examples/rails2/db/create-tables.pgsql.sql +27 -0
  137. data/examples/rails2/db/insert-data.sql +21 -0
  138. data/examples/rails2/db/tabledef.yaml +51 -0
  139. data/kwartz.gemspec +4 -4
  140. data/lib/kwartz.rb +10 -2
  141. data/lib/kwartz/assert.rb +1 -1
  142. data/lib/kwartz/binding/eperl.rb +85 -61
  143. data/lib/kwartz/binding/erubis.rb +6 -8
  144. data/lib/kwartz/binding/eruby.rb +5 -120
  145. data/lib/kwartz/binding/jstl.rb +116 -101
  146. data/lib/kwartz/binding/php.rb +79 -60
  147. data/lib/kwartz/binding/pierubis.rb +58 -0
  148. data/lib/kwartz/binding/rails.rb +45 -42
  149. data/lib/kwartz/binding/ruby.rb +193 -0
  150. data/lib/kwartz/binding/struts.rb +1 -1
  151. data/lib/kwartz/config.rb +4 -3
  152. data/lib/kwartz/converter.rb +231 -68
  153. data/lib/kwartz/defun.rb +126 -0
  154. data/lib/kwartz/error.rb +1 -1
  155. data/lib/kwartz/helper/rails.rb +437 -0
  156. data/lib/kwartz/main.rb +30 -38
  157. data/lib/kwartz/node.rb +46 -31
  158. data/lib/kwartz/parser.rb +43 -15
  159. data/lib/kwartz/translator.rb +104 -6
  160. data/lib/kwartz/util.rb +113 -0
  161. data/lib/kwartz/util/assert-text-equal.rb +1 -1
  162. data/lib/kwartz/util/testcase-helper.rb +26 -8
  163. data/test/test-compile.rb +3 -3
  164. data/test/test-compile.yaml +135 -5
  165. data/test/test-converter.rb +16 -8
  166. data/test/test-converter.yaml +307 -76
  167. data/test/test-directives.rb +1 -1
  168. data/test/test-directives.yaml +964 -979
  169. data/test/test-main.rb +61 -146
  170. data/test/test-main.yaml +235 -0
  171. data/test/test-parser.rb +10 -12
  172. data/test/test-parser.yaml +484 -326
  173. data/test/test-rails.rb +1 -1
  174. data/test/test-rails.yaml +37 -37
  175. data/test/test-ruleset.rb +1 -1
  176. data/test/test-ruleset.yaml +34 -40
  177. data/test/test.rb +1 -1
  178. metadata +82 -3
  179. data/COPYING +0 -340
@@ -105,6 +105,8 @@ It means that presentation logics are separated from both presentation data (typ
105
105
  </li>
106
106
  <li><a href="#directive-replace">replace_element/content_with_element/content</a>
107
107
  </li>
108
+ <li><a href="#directive-replace2">replace_element_with, replace_content_with</a>
109
+ </li>
108
110
  </ul>
109
111
  </li>
110
112
  <li><a href="#cmdline">Command-Line Options</a>
@@ -166,21 +168,21 @@ presentation data (ex-elem.pdata)</div>
166
168
  <div class="program_caption">
167
169
  presentation logic (ex-elem.plogic)</div>
168
170
  <pre class="program">#name1 {
169
- <b>elem:</b> user[:name];
171
+ <strong>elem:</strong> user[:name];
170
172
  }
171
173
  #name2 {
172
- <b>Elem:</b> user[:name];
174
+ <strong>Elem:</strong> user[:name];
173
175
  }
174
176
  #name3 {
175
- <b>ELEM:</b> user[:name];
177
+ <strong>ELEM:</strong> user[:name];
176
178
  }
177
179
  </pre>
178
180
  <div class="terminal_caption">
179
181
  compile</div>
180
182
  <pre class="terminal">$ kwartz -l eruby -p ex-elem.plogic ex-elem.pdata
181
- <b>&lt;%= user[:name] %&gt;</b>
182
- <b>&lt;%=h user[:name] %&gt;</b>
183
- <b>&lt;%= user[:name] %&gt;</b>
183
+ <strong>&lt;%= user[:name] %&gt;</strong>
184
+ <strong>&lt;%=h user[:name] %&gt;</strong>
185
+ <strong>&lt;%= user[:name] %&gt;</strong>
184
186
  </pre>
185
187
  <br>
186
188
 
@@ -195,21 +197,21 @@ presentation data (ex-elem.pdata)</div>
195
197
  <div class="program_caption">
196
198
  presentation logic (ex-elem.plogic)</div>
197
199
  <pre class="program">#name1 {
198
- <b>elem:</b> $user['name'];
200
+ <strong>elem:</strong> $user['name'];
199
201
  }
200
202
  #name2 {
201
- <b>Elem:</b> $user['name'];
203
+ <strong>Elem:</strong> $user['name'];
202
204
  }
203
205
  #name3 {
204
- <b>ELEM:</b> $user['name'];
206
+ <strong>ELEM:</strong> $user['name'];
205
207
  }
206
208
  </pre>
207
209
  <div class="terminal_caption">
208
210
  compile</div>
209
211
  <pre class="terminal">$ kwartz -l php -p ex-elem.plogic ex-elem.pdata
210
- <b>&lt;?php echo $user['name']; ?&gt;</b>
211
- <b>&lt;?php echo htmlspecialchars($user['name']); ?&gt;</b>
212
- <b>&lt;?php echo $user['name']; ?&gt;</b>
212
+ <strong>&lt;?php echo $user['name']; ?&gt;</strong>
213
+ <strong>&lt;?php echo htmlspecialchars($user['name']); ?&gt;</strong>
214
+ <strong>&lt;?php echo $user['name']; ?&gt;</strong>
213
215
  </pre>
214
216
  <br>
215
217
 
@@ -224,13 +226,13 @@ presentation data (ex-elem.pdata)</div>
224
226
  <div class="program_caption">
225
227
  presentation logic (ex-elem.plogic)</div>
226
228
  <pre class="program">#name1 {
227
- <b>elem:</b> user.name;
229
+ <strong>elem:</strong> user.name;
228
230
  }
229
231
  #name2 {
230
- <b>Elem:</b> user.name;
232
+ <strong>Elem:</strong> user.name;
231
233
  }
232
234
  #name3 {
233
- <b>ELEM:</b> user.name;
235
+ <strong>ELEM:</strong> user.name;
234
236
  }
235
237
  </pre>
236
238
  <div class="terminal_caption">
@@ -238,9 +240,9 @@ compile</div>
238
240
  <pre class="terminal">$ kwartz -l jstl -p ex-elem.plogic ex-elem.pdata
239
241
  &lt;%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %&gt;
240
242
  &lt;%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %&gt;
241
- <b>${user.name}</b>
242
- <b>${user.name}</b>
243
- <b>&lt;c:out value="${user.name}" escapeXml="false"/&gt;</b>
243
+ <strong>${user.name}</strong>
244
+ <strong>${user.name}</strong>
245
+ <strong>&lt;c:out value="${user.name}" escapeXml="false"/&gt;</strong>
244
246
  </pre>
245
247
  <br>
246
248
 
@@ -255,21 +257,21 @@ presentation data (ex-elem.pdata)</div>
255
257
  <div class="program_caption">
256
258
  presentation logic (ex-elem.plogic)</div>
257
259
  <pre class="program">#name1 {
258
- <b>elem:</b> $user{'name'};
260
+ <strong>elem:</strong> $user{'name'};
259
261
  }
260
262
  #name2 {
261
- <b>Elem:</b> $user{'name'};
263
+ <strong>Elem:</strong> $user{'name'};
262
264
  }
263
265
  #name3 {
264
- <b>ELEM:</b> $user{'name'};
266
+ <strong>ELEM:</strong> $user{'name'};
265
267
  }
266
268
  </pre>
267
269
  <div class="terminal_caption">
268
270
  compile</div>
269
271
  <pre class="terminal">$ kwartz -l eperl -p ex-elem.plogic ex-elem.pdata
270
- <b>&lt;?= $user{'name'} !&gt;</b>
271
- <b>&lt;?= encode_entities($user{'name'}) !&gt;</b>
272
- <b>&lt;?= $user{'name'} !&gt;</b>
272
+ <strong>&lt;?= $user{'name'} !&gt;</strong>
273
+ <strong>&lt;?= encode_entities($user{'name'}) !&gt;</strong>
274
+ <strong>&lt;?= $user{'name'} !&gt;</strong>
273
275
  </pre>
274
276
  <br>
275
277
 
@@ -296,21 +298,21 @@ presentation data (ex-cont.pdata)</div>
296
298
  <div class="program_caption">
297
299
  presentation logic (ex-cont.plogic)</div>
298
300
  <pre class="program">#name1 {
299
- <b>cont:</b> user[:name];
301
+ <strong>cont:</strong> user[:name];
300
302
  }
301
303
  #name2 {
302
- <b>Cont:</b> user[:name];
304
+ <strong>Cont:</strong> user[:name];
303
305
  }
304
306
  #name3 {
305
- <b>CONT:</b> user[:name];
307
+ <strong>CONT:</strong> user[:name];
306
308
  }
307
309
  </pre>
308
310
  <div class="terminal_caption">
309
311
  compile</div>
310
312
  <pre class="terminal">$ kwartz -l eruby -p ex-cont.plogic ex-cont.pdata
311
- &lt;p&gt;<b>&lt;%= user[:name] %&gt;</b>&lt;/p&gt;
312
- &lt;p&gt;<b>&lt;%=h user[:name] %&gt;</b>&lt;/p&gt;
313
- &lt;p&gt;<b>&lt;%= user[:name] %&gt;</b>&lt;/p&gt;
313
+ &lt;p&gt;<strong>&lt;%= user[:name] %&gt;</strong>&lt;/p&gt;
314
+ &lt;p&gt;<strong>&lt;%=h user[:name] %&gt;</strong>&lt;/p&gt;
315
+ &lt;p&gt;<strong>&lt;%= user[:name] %&gt;</strong>&lt;/p&gt;
314
316
  </pre>
315
317
  <br>
316
318
 
@@ -325,21 +327,21 @@ presentation data (ex-cont.pdata)</div>
325
327
  <div class="program_caption">
326
328
  presentation logic (ex-cont.plogic)</div>
327
329
  <pre class="program">#name1 {
328
- <b>cont:</b> $user['name'];
330
+ <strong>cont:</strong> $user['name'];
329
331
  }
330
332
  #name2 {
331
- <b>Cont:</b> $user['name'];
333
+ <strong>Cont:</strong> $user['name'];
332
334
  }
333
335
  #name3 {
334
- <b>CONT:</b> $user['name'];
336
+ <strong>CONT:</strong> $user['name'];
335
337
  }
336
338
  </pre>
337
339
  <div class="terminal_caption">
338
340
  compile</div>
339
341
  <pre class="terminal">$ kwartz -l php -p ex-cont.plogic ex-cont.pdata
340
- &lt;p&gt;<b>&lt;?php echo $user['name']; ?&gt;</b>&lt;/p&gt;
341
- &lt;p&gt;<b>&lt;?php echo htmlspecialchars($user['name']); ?&gt;</b>&lt;/p&gt;
342
- &lt;p&gt;<b>&lt;?php echo $user['name']; ?&gt;</b>&lt;/p&gt;
342
+ &lt;p&gt;<strong>&lt;?php echo $user['name']; ?&gt;</strong>&lt;/p&gt;
343
+ &lt;p&gt;<strong>&lt;?php echo htmlspecialchars($user['name']); ?&gt;</strong>&lt;/p&gt;
344
+ &lt;p&gt;<strong>&lt;?php echo $user['name']; ?&gt;</strong>&lt;/p&gt;
343
345
  </pre>
344
346
  <br>
345
347
 
@@ -354,13 +356,13 @@ presentation data (ex-cont.pdata)</div>
354
356
  <div class="program_caption">
355
357
  presentation logic (ex-cont.plogic)</div>
356
358
  <pre class="program">#name1 {
357
- <b>cont:</b> user.name;
359
+ <strong>cont:</strong> user.name;
358
360
  }
359
361
  #name2 {
360
- <b>Cont:</b> user.name;
362
+ <strong>Cont:</strong> user.name;
361
363
  }
362
364
  #name3 {
363
- <b>CONT:</b> user.name;
365
+ <strong>CONT:</strong> user.name;
364
366
  }
365
367
  </pre>
366
368
  <div class="terminal_caption">
@@ -368,9 +370,9 @@ compile</div>
368
370
  <pre class="terminal">$ kwartz -l jstl -p ex-cont.plogic ex-cont.pdata
369
371
  &lt;%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %&gt;
370
372
  &lt;%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %&gt;
371
- &lt;p&gt;<b>${user.name}</b>&lt;/p&gt;
372
- &lt;p&gt;<b>${user.name}</b>&lt;/p&gt;
373
- &lt;p&gt;<b>&lt;c:out value="${user.name}" escapeXml="false"/&gt;</b>&lt;/p&gt;
373
+ &lt;p&gt;<strong>${user.name}</strong>&lt;/p&gt;
374
+ &lt;p&gt;<strong>${user.name}</strong>&lt;/p&gt;
375
+ &lt;p&gt;<strong>&lt;c:out value="${user.name}" escapeXml="false"/&gt;</strong>&lt;/p&gt;
374
376
  </pre>
375
377
  <br>
376
378
 
@@ -385,21 +387,21 @@ presentation data (ex-cont.pdata)</div>
385
387
  <div class="program_caption">
386
388
  presentation logic (ex-cont.plogic)</div>
387
389
  <pre class="program">#name1 {
388
- <b>cont:</b> $user{'name'};
390
+ <strong>cont:</strong> $user{'name'};
389
391
  }
390
392
  #name2 {
391
- <b>Cont:</b> $user{'name'};
393
+ <strong>Cont:</strong> $user{'name'};
392
394
  }
393
395
  #name3 {
394
- <b>CONT:</b> $user{'name'};
396
+ <strong>CONT:</strong> $user{'name'};
395
397
  }
396
398
  </pre>
397
399
  <div class="terminal_caption">
398
400
  compile</div>
399
401
  <pre class="terminal">$ kwartz -l eperl -p ex-cont.plogic ex-cont.pdata
400
- &lt;p&gt;<b>&lt;?= $user{'name'} !&gt;</b>&lt;/p&gt;
401
- &lt;p&gt;<b>&lt;?= encode_entities($user{'name'}) !&gt;</b>&lt;/p&gt;
402
- &lt;p&gt;<b>&lt;?= $user{'name'} !&gt;</b>&lt;/p&gt;
402
+ &lt;p&gt;<strong>&lt;?= $user{'name'} !&gt;</strong>&lt;/p&gt;
403
+ &lt;p&gt;<strong>&lt;?= encode_entities($user{'name'}) !&gt;</strong>&lt;/p&gt;
404
+ &lt;p&gt;<strong>&lt;?= $user{'name'} !&gt;</strong>&lt;/p&gt;
403
405
  </pre>
404
406
  <br>
405
407
 
@@ -424,21 +426,21 @@ presentation data (ex-value.pdata)</div>
424
426
  <div class="program_caption">
425
427
  presentation logic (ex-value.plogic)</div>
426
428
  <pre class="program">#name1 {
427
- <b>value:</b> user[:name];
429
+ <strong>value:</strong> user[:name];
428
430
  }
429
431
  #name2 {
430
- <b>Value:</b> user[:name];
432
+ <strong>Value:</strong> user[:name];
431
433
  }
432
434
  #name3 {
433
- <b>VALUE:</b> user[:name];
435
+ <strong>VALUE:</strong> user[:name];
434
436
  }
435
437
  </pre>
436
438
  <div class="terminal_caption">
437
439
  compile</div>
438
440
  <pre class="terminal">$ kwartz -l eruby -p ex-value.plogic ex-value.pdata
439
- &lt;p&gt;<b>&lt;%= user[:name] %&gt;</b>&lt;/p&gt;
440
- &lt;p&gt;<b>&lt;%=h user[:name] %&gt;</b>&lt;/p&gt;
441
- &lt;p&gt;<b>&lt;%= user[:name] %&gt;</b>&lt;/p&gt;
441
+ &lt;p&gt;<strong>&lt;%= user[:name] %&gt;</strong>&lt;/p&gt;
442
+ &lt;p&gt;<strong>&lt;%=h user[:name] %&gt;</strong>&lt;/p&gt;
443
+ &lt;p&gt;<strong>&lt;%= user[:name] %&gt;</strong>&lt;/p&gt;
442
444
  </pre>
443
445
  <br>
444
446
 
@@ -453,21 +455,21 @@ presentation data (ex-value.pdata)</div>
453
455
  <div class="program_caption">
454
456
  presentation logic (ex-value.plogic)</div>
455
457
  <pre class="program">#name1 {
456
- <b>value:</b> $user['name'];
458
+ <strong>value:</strong> $user['name'];
457
459
  }
458
460
  #name2 {
459
- <b>Value:</b> $user['name'];
461
+ <strong>Value:</strong> $user['name'];
460
462
  }
461
463
  #name3 {
462
- <b>VALUE:</b> $user['name'];
464
+ <strong>VALUE:</strong> $user['name'];
463
465
  }
464
466
  </pre>
465
467
  <div class="terminal_caption">
466
468
  compile</div>
467
469
  <pre class="terminal">$ kwartz -l php -p ex-value.plogic ex-value.pdata
468
- &lt;p&gt;<b>&lt;?php echo $user['name']; ?&gt;</b>&lt;/p&gt;
469
- &lt;p&gt;<b>&lt;?php echo htmlspecialchars($user['name']); ?&gt;</b>&lt;/p&gt;
470
- &lt;p&gt;<b>&lt;?php echo $user['name']; ?&gt;</b>&lt;/p&gt;
470
+ &lt;p&gt;<strong>&lt;?php echo $user['name']; ?&gt;</strong>&lt;/p&gt;
471
+ &lt;p&gt;<strong>&lt;?php echo htmlspecialchars($user['name']); ?&gt;</strong>&lt;/p&gt;
472
+ &lt;p&gt;<strong>&lt;?php echo $user['name']; ?&gt;</strong>&lt;/p&gt;
471
473
  </pre>
472
474
  <br>
473
475
 
@@ -482,13 +484,13 @@ presentation data (ex-value.pdata)</div>
482
484
  <div class="program_caption">
483
485
  presentation logic (ex-value.plogic)</div>
484
486
  <pre class="program">#name1 {
485
- <b>value:</b> user.name;
487
+ <strong>value:</strong> user.name;
486
488
  }
487
489
  #name2 {
488
- <b>Value:</b> user.name;
490
+ <strong>Value:</strong> user.name;
489
491
  }
490
492
  #name3 {
491
- <b>VALUE:</b> user.name;
493
+ <strong>VALUE:</strong> user.name;
492
494
  }
493
495
  </pre>
494
496
  <div class="terminal_caption">
@@ -496,9 +498,9 @@ compile</div>
496
498
  <pre class="terminal">$ kwartz -l jstl -p ex-value.plogic ex-value.pdata
497
499
  &lt;%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %&gt;
498
500
  &lt;%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %&gt;
499
- &lt;p&gt;<b>${user.name}</b>&lt;/p&gt;
500
- &lt;p&gt;<b>${user.name}</b>&lt;/p&gt;
501
- &lt;p&gt;<b>&lt;c:out value="${user.name}" escapeXml="false"/&gt;</b>&lt;/p&gt;
501
+ &lt;p&gt;<strong>${user.name}</strong>&lt;/p&gt;
502
+ &lt;p&gt;<strong>${user.name}</strong>&lt;/p&gt;
503
+ &lt;p&gt;<strong>&lt;c:out value="${user.name}" escapeXml="false"/&gt;</strong>&lt;/p&gt;
502
504
  </pre>
503
505
  <br>
504
506
 
@@ -513,21 +515,21 @@ presentation data (ex-value.pdata)</div>
513
515
  <div class="program_caption">
514
516
  presentation logic (ex-value.plogic)</div>
515
517
  <pre class="program">#name1 {
516
- <b>value:</b> $user{'name'};
518
+ <strong>value:</strong> $user{'name'};
517
519
  }
518
520
  #name2 {
519
- <b>Value:</b> $user{'name'};
521
+ <strong>Value:</strong> $user{'name'};
520
522
  }
521
523
  #name3 {
522
- <b>VALUE:</b> $user{'name'};
524
+ <strong>VALUE:</strong> $user{'name'};
523
525
  }
524
526
  </pre>
525
527
  <div class="terminal_caption">
526
528
  compile</div>
527
529
  <pre class="terminal">$ kwartz -l eperl -p ex-value.plogic ex-value.pdata
528
- &lt;p&gt;<b>&lt;?= $user{'name'} !&gt;</b>&lt;/p&gt;
529
- &lt;p&gt;<b>&lt;?= encode_entities($user{'name'}) !&gt;</b>&lt;/p&gt;
530
- &lt;p&gt;<b>&lt;?= $user{'name'} !&gt;</b>&lt;/p&gt;
530
+ &lt;p&gt;<strong>&lt;?= $user{'name'} !&gt;</strong>&lt;/p&gt;
531
+ &lt;p&gt;<strong>&lt;?= encode_entities($user{'name'}) !&gt;</strong>&lt;/p&gt;
532
+ &lt;p&gt;<strong>&lt;?= $user{'name'} !&gt;</strong>&lt;/p&gt;
531
533
  </pre>
532
534
  <br>
533
535
 
@@ -554,21 +556,21 @@ presentation data (ex-stag.pdata)</div>
554
556
  <div class="program_caption">
555
557
  presentation logic (ex-stag.plogic)</div>
556
558
  <pre class="program">#link1 {
557
- <b>stag:</b> start_link_to :action=&gt;'list';
559
+ <strong>stag:</strong> start_link_tag :action=&gt;'list';
558
560
  }
559
561
  #link2 {
560
- <b>Stag:</b> start_link_to :action=&gt;'list';
562
+ <strong>Stag:</strong> start_link_tag :action=&gt;'list';
561
563
  }
562
564
  #link3 {
563
- <b>STAG:</b> start_link_to :action=&gt;'list';
565
+ <strong>STAG:</strong> start_link_tag :action=&gt;'list';
564
566
  }
565
567
  </pre>
566
568
  <div class="terminal_caption">
567
569
  compile</div>
568
570
  <pre class="terminal">$ kwartz -l eruby -p ex-stag.plogic ex-stag.pdata
569
- <b>&lt;%= start_link_to :action=&gt;'list' %&gt;</b>&lt;img src="button1.png"&gt;&lt;/a&gt;
570
- <b>&lt;%=h start_link_to :action=&gt;'list' %&gt;</b>&lt;img src="button2.png"&gt;&lt;/a&gt;
571
- <b>&lt;%= start_link_to :action=&gt;'list' %&gt;</b>&lt;img src="button3.png"&gt;&lt;/a&gt;
571
+ <strong>&lt;%= start_link_tag :action=&gt;'list' %&gt;</strong>&lt;img src="button1.png"&gt;&lt;/a&gt;
572
+ <strong>&lt;%=h start_link_tag :action=&gt;'list' %&gt;</strong>&lt;img src="button2.png"&gt;&lt;/a&gt;
573
+ <strong>&lt;%= start_link_tag :action=&gt;'list' %&gt;</strong>&lt;img src="button3.png"&gt;&lt;/a&gt;
572
574
  </pre>
573
575
  <br>
574
576
 
@@ -583,21 +585,21 @@ presentation data (ex-stag.pdata)</div>
583
585
  <div class="program_caption">
584
586
  presentation logic (ex-stag.plogic)</div>
585
587
  <pre class="program">#link1 {
586
- <b>stag:</b> start_link_to('list');
588
+ <strong>stag:</strong> start_link_tag('list');
587
589
  }
588
590
  #link2 {
589
- <b>Stag:</b> start_link_to('list');
591
+ <strong>Stag:</strong> start_link_tag('list');
590
592
  }
591
593
  #link3 {
592
- <b>STAG:</b> start_link_to('list');
594
+ <strong>STAG:</strong> start_link_tag('list');
593
595
  }
594
596
  </pre>
595
597
  <div class="terminal_caption">
596
598
  compile</div>
597
599
  <pre class="terminal">$ kwartz -l php -p ex-stag.plogic ex-stag.pdata
598
- <b>&lt;?php echo start_link_to('list'); ?&gt;</b>&lt;img src="button1.png"&gt;&lt;/a&gt;
599
- <b>&lt;?php echo htmlspecialchars(start_link_to('list')); ?&gt;</b>&lt;img src="button2.png"&gt;&lt;/a&gt;
600
- <b>&lt;?php echo start_link_to('list'); ?&gt;</b>&lt;img src="button3.png"&gt;&lt;/a&gt;
600
+ <strong>&lt;?php echo start_link_tag('list'); ?&gt;</strong>&lt;img src="button1.png"&gt;&lt;/a&gt;
601
+ <strong>&lt;?php echo htmlspecialchars(start_link_tag('list')); ?&gt;</strong>&lt;img src="button2.png"&gt;&lt;/a&gt;
602
+ <strong>&lt;?php echo start_link_tag('list'); ?&gt;</strong>&lt;img src="button3.png"&gt;&lt;/a&gt;
601
603
  </pre>
602
604
  <br>
603
605
 
@@ -612,13 +614,13 @@ presentation data (ex-stag.pdata)</div>
612
614
  <div class="program_caption">
613
615
  presentation logic (ex-stag.plogic)</div>
614
616
  <pre class="program">#link1 {
615
- <b>stag:</b> fn:start_link_to('list');
617
+ <strong>stag:</strong> fn:start_link_tag('list');
616
618
  }
617
619
  #link2 {
618
- <b>Stag:</b> fn:start_link_to('list');
620
+ <strong>Stag:</strong> fn:start_link_tag('list');
619
621
  }
620
622
  #link3 {
621
- <b>STAG:</b> fn:start_link_to('list');
623
+ <strong>STAG:</strong> fn:start_link_tag('list');
622
624
  }
623
625
  </pre>
624
626
  <div class="terminal_caption">
@@ -626,9 +628,9 @@ compile</div>
626
628
  <pre class="terminal">$ kwartz -l jstl -p ex-stag.plogic ex-stag.pdata
627
629
  &lt;%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %&gt;
628
630
  &lt;%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %&gt;
629
- <b>${fn:start_link_to('list')}</b>&lt;img src="button1.png"&gt;&lt;/a&gt;
630
- <b>${fn:start_link_to('list')}</b>&lt;img src="button2.png"&gt;&lt;/a&gt;
631
- <b>&lt;c:out value="${fn:start_link_to('list')}" escapeXml="false"/&gt;</b>&lt;img src="button3.png"&gt;&lt;/a&gt;
631
+ <strong>${fn:start_link_tag('list')}</strong>&lt;img src="button1.png"&gt;&lt;/a&gt;
632
+ <strong>${fn:start_link_tag('list')}</strong>&lt;img src="button2.png"&gt;&lt;/a&gt;
633
+ <strong>&lt;c:out value="${fn:start_link_tag('list')}" escapeXml="false"/&gt;</strong>&lt;img src="button3.png"&gt;&lt;/a&gt;
632
634
  </pre>
633
635
  <br>
634
636
 
@@ -643,21 +645,21 @@ presentation data (ex-stag.pdata)</div>
643
645
  <div class="program_caption">
644
646
  presentation logic (ex-stag.plogic)</div>
645
647
  <pre class="program">#link1 {
646
- <b>stag:</b> start_link_to('list');
648
+ <strong>stag:</strong> start_link_tag('list');
647
649
  }
648
650
  #link2 {
649
- <b>Stag:</b> start_link_to('list');
651
+ <strong>Stag:</strong> start_link_tag('list');
650
652
  }
651
653
  #link3 {
652
- <b>STAG:</b> start_link_to('list');
654
+ <strong>STAG:</strong> start_link_tag('list');
653
655
  }
654
656
  </pre>
655
657
  <div class="terminal_caption">
656
658
  compile</div>
657
659
  <pre class="terminal">$ kwartz -l eperl -p ex-stag.plogic ex-stag.pdata
658
- <b>&lt;?= start_link_to('list') !&gt;</b>&lt;img src="button1.png"&gt;&lt;/a&gt;
659
- <b>&lt;?= encode_entities(start_link_to('list')) !&gt;</b>&lt;img src="button2.png"&gt;&lt;/a&gt;
660
- <b>&lt;?= start_link_to('list') !&gt;</b>&lt;img src="button3.png"&gt;&lt;/a&gt;
660
+ <strong>&lt;?= start_link_tag('list') !&gt;</strong>&lt;img src="button1.png"&gt;&lt;/a&gt;
661
+ <strong>&lt;?= encode_entities(start_link_tag('list')) !&gt;</strong>&lt;img src="button2.png"&gt;&lt;/a&gt;
662
+ <strong>&lt;?= start_link_tag('list') !&gt;</strong>&lt;img src="button3.png"&gt;&lt;/a&gt;
661
663
  </pre>
662
664
  <br>
663
665
 
@@ -684,21 +686,21 @@ presentation data (ex-etag.pdata)</div>
684
686
  <div class="program_caption">
685
687
  presentation logic (ex-etag.plogic)</div>
686
688
  <pre class="program">#item1 {
687
- <b>etag:</b> is_xml ? '&lt;/li&gt;' : '';
689
+ <strong>etag:</strong> is_xml ? '&lt;/li&gt;' : '';
688
690
  }
689
691
  #item2 {
690
- <b>Etag:</b> is_xml ? '&lt;/li&gt;' : '';
692
+ <strong>Etag:</strong> is_xml ? '&lt;/li&gt;' : '';
691
693
  }
692
694
  #item3 {
693
- <b>ETAG:</b> is_xml ? '&lt;/li&gt;' : '';
695
+ <strong>ETAG:</strong> is_xml ? '&lt;/li&gt;' : '';
694
696
  }
695
697
  </pre>
696
698
  <div class="terminal_caption">
697
699
  compile</div>
698
700
  <pre class="terminal">$ kwartz -l eruby -p ex-etag.plogic ex-etag.pdata
699
- &lt;li&gt;foo<b>&lt;%= is_xml ? '&lt;/li&gt;' : '' %&gt;</b>
700
- &lt;li&gt;bar<b>&lt;%=h is_xml ? '&lt;/li&gt;' : '' %&gt;</b>
701
- &lt;li&gt;baz<b>&lt;%= is_xml ? '&lt;/li&gt;' : '' %&gt;</b>
701
+ &lt;li&gt;foo<strong>&lt;%= is_xml ? '&lt;/li&gt;' : '' %&gt;</strong>
702
+ &lt;li&gt;bar<strong>&lt;%=h is_xml ? '&lt;/li&gt;' : '' %&gt;</strong>
703
+ &lt;li&gt;baz<strong>&lt;%= is_xml ? '&lt;/li&gt;' : '' %&gt;</strong>
702
704
  </pre>
703
705
  <br>
704
706
 
@@ -713,21 +715,21 @@ presentation data (ex-etag.pdata)</div>
713
715
  <div class="program_caption">
714
716
  presentation logic (ex-etag.plogic)</div>
715
717
  <pre class="program">#item1 {
716
- <b>etag:</b> $is_xml ? '&lt;/li&gt;' : '';
718
+ <strong>etag:</strong> $is_xml ? '&lt;/li&gt;' : '';
717
719
  }
718
720
  #item2 {
719
- <b>Etag:</b> $is_xml ? '&lt;/li&gt;' : '';
721
+ <strong>Etag:</strong> $is_xml ? '&lt;/li&gt;' : '';
720
722
  }
721
723
  #item3 {
722
- <b>ETAG:</b> $is_xml ? '&lt;/li&gt;' : '';
724
+ <strong>ETAG:</strong> $is_xml ? '&lt;/li&gt;' : '';
723
725
  }
724
726
  </pre>
725
727
  <div class="terminal_caption">
726
728
  compile</div>
727
729
  <pre class="terminal">$ kwartz -l php -p ex-etag.plogic ex-etag.pdata
728
- &lt;li&gt;foo<b>&lt;?php echo $is_xml ? '&lt;/li&gt;' : ''; ?&gt;</b>
729
- &lt;li&gt;bar<b>&lt;?php echo htmlspecialchars($is_xml ? '&lt;/li&gt;' : ''); ?&gt;</b>
730
- &lt;li&gt;baz<b>&lt;?php echo $is_xml ? '&lt;/li&gt;' : ''; ?&gt;</b>
730
+ &lt;li&gt;foo<strong>&lt;?php echo $is_xml ? '&lt;/li&gt;' : ''; ?&gt;</strong>
731
+ &lt;li&gt;bar<strong>&lt;?php echo htmlspecialchars($is_xml ? '&lt;/li&gt;' : ''); ?&gt;</strong>
732
+ &lt;li&gt;baz<strong>&lt;?php echo $is_xml ? '&lt;/li&gt;' : ''; ?&gt;</strong>
731
733
  </pre>
732
734
  <br>
733
735
 
@@ -742,13 +744,13 @@ presentation data (ex-etag.pdata)</div>
742
744
  <div class="program_caption">
743
745
  presentation logic (ex-etag.plogic)</div>
744
746
  <pre class="program">#item1 {
745
- <b>etag:</b> is_xml ? '&lt;/li&gt;' : '';
747
+ <strong>etag:</strong> is_xml ? '&lt;/li&gt;' : '';
746
748
  }
747
749
  #item2 {
748
- <b>Etag:</b> is_xml ? '&lt;/li&gt;' : '';
750
+ <strong>Etag:</strong> is_xml ? '&lt;/li&gt;' : '';
749
751
  }
750
752
  #item3 {
751
- <b>ETAG:</b> is_xml ? '&lt;/li&gt;' : '';
753
+ <strong>ETAG:</strong> is_xml ? '&lt;/li&gt;' : '';
752
754
  }
753
755
  </pre>
754
756
  <div class="terminal_caption">
@@ -756,9 +758,9 @@ compile</div>
756
758
  <pre class="terminal">$ kwartz -l jstl -p ex-etag.plogic ex-etag.pdata
757
759
  &lt;%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %&gt;
758
760
  &lt;%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %&gt;
759
- &lt;li&gt;foo<b>${is_xml ? '&lt;/li&gt;' : ''}</b>
760
- &lt;li&gt;bar<b>${is_xml ? '&lt;/li&gt;' : ''}</b>
761
- &lt;li&gt;baz<b>&lt;c:out value="${is_xml ? '&lt;/li&gt;' : ''}" escapeXml="false"/&gt;</b>
761
+ &lt;li&gt;foo<strong>${is_xml ? '&lt;/li&gt;' : ''}</strong>
762
+ &lt;li&gt;bar<strong>${is_xml ? '&lt;/li&gt;' : ''}</strong>
763
+ &lt;li&gt;baz<strong>&lt;c:out value="${is_xml ? '&lt;/li&gt;' : ''}" escapeXml="false"/&gt;</strong>
762
764
  </pre>
763
765
  <br>
764
766
 
@@ -773,21 +775,21 @@ presentation data (ex-etag.pdata)</div>
773
775
  <div class="program_caption">
774
776
  presentation logic (ex-etag.plogic)</div>
775
777
  <pre class="program">#item1 {
776
- <b>etag:</b> $is_xml ? '&lt;/li&gt;' : '';
778
+ <strong>etag:</strong> $is_xml ? '&lt;/li&gt;' : '';
777
779
  }
778
780
  #item2 {
779
- <b>Etag:</b> $is_xml ? '&lt;/li&gt;' : '';
781
+ <strong>Etag:</strong> $is_xml ? '&lt;/li&gt;' : '';
780
782
  }
781
783
  #item3 {
782
- <b>ETAG:</b> $is_xml ? '&lt;/li&gt;' : '';
784
+ <strong>ETAG:</strong> $is_xml ? '&lt;/li&gt;' : '';
783
785
  }
784
786
  </pre>
785
787
  <div class="terminal_caption">
786
788
  compile</div>
787
789
  <pre class="terminal">$ kwartz -l eperl -p ex-etag.plogic ex-etag.pdata
788
- &lt;li&gt;foo<b>&lt;?= $is_xml ? '&lt;/li&gt;' : '' !&gt;</b>
789
- &lt;li&gt;bar<b>&lt;?= encode_entities($is_xml ? '&lt;/li&gt;' : '') !&gt;</b>
790
- &lt;li&gt;baz<b>&lt;?= $is_xml ? '&lt;/li&gt;' : '' !&gt;</b>
790
+ &lt;li&gt;foo<strong>&lt;?= $is_xml ? '&lt;/li&gt;' : '' !&gt;</strong>
791
+ &lt;li&gt;bar<strong>&lt;?= encode_entities($is_xml ? '&lt;/li&gt;' : '') !&gt;</strong>
792
+ &lt;li&gt;baz<strong>&lt;?= $is_xml ? '&lt;/li&gt;' : '' !&gt;</strong>
791
793
  </pre>
792
794
  <br>
793
795
 
@@ -820,14 +822,14 @@ presentation data (ex-attrs.pdata)</div>
820
822
  <div class="program_caption">
821
823
  presentation logic (ex-attrs.plogic)</div>
822
824
  <pre class="program">#item {
823
- <b>attrs:</b> 'class' klass,
825
+ <strong>attrs:</strong> 'class' klass,
824
826
  'style' style;
825
827
  }
826
828
  </pre>
827
829
  <div class="terminal_caption">
828
830
  compile</div>
829
831
  <pre class="terminal">$ kwartz -l eruby -p ex-attrs.plogic ex-attrs.pdata
830
- &lt;p <b>class="&lt;%= klass %&gt;"</b> <b>style="&lt;%= style %&gt;"</b>&gt;
832
+ &lt;p <strong>class="&lt;%= klass %&gt;"</strong> <strong>style="&lt;%= style %&gt;"</strong>&gt;
831
833
  AAA
832
834
  &lt;/p&gt;
833
835
  </pre>
@@ -844,14 +846,14 @@ presentation data (ex-attrs.pdata)</div>
844
846
  <div class="program_caption">
845
847
  presentation logic (ex-attrs.plogic)</div>
846
848
  <pre class="program">#item {
847
- <b>attrs:</b> 'class' $class,
849
+ <strong>attrs:</strong> 'class' $class,
848
850
  'style' $style;
849
851
  }
850
852
  </pre>
851
853
  <div class="terminal_caption">
852
854
  compile</div>
853
855
  <pre class="terminal">$ kwartz -l php -p ex-attrs.plogic ex-attrs.pdata
854
- &lt;p <b>class="&lt;?php echo $class; ?&gt;"</b> <b>style="&lt;?php echo $style; ?&gt;"</b>&gt;
856
+ &lt;p <strong>class="&lt;?php echo $class; ?&gt;"</strong> <strong>style="&lt;?php echo $style; ?&gt;"</strong>&gt;
855
857
  AAA
856
858
  &lt;/p&gt;
857
859
  </pre>
@@ -868,7 +870,7 @@ presentation data (ex-attrs.pdata)</div>
868
870
  <div class="program_caption">
869
871
  presentation logic (ex-attrs.plogic)</div>
870
872
  <pre class="program">#item {
871
- <b>attrs:</b> 'class' klass,
873
+ <strong>attrs:</strong> 'class' klass,
872
874
  'style' style;
873
875
  }
874
876
  </pre>
@@ -877,7 +879,7 @@ compile</div>
877
879
  <pre class="terminal">$ kwartz -l jstl -p ex-attrs.plogic ex-attrs.pdata
878
880
  &lt;%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %&gt;
879
881
  &lt;%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %&gt;
880
- &lt;p <b>class="${klass}"</b> <b>style="${style}"</b>&gt;
882
+ &lt;p <strong>class="${klass}"</strong> <strong>style="${style}"</strong>&gt;
881
883
  AAA
882
884
  &lt;/p&gt;
883
885
  </pre>
@@ -894,14 +896,14 @@ presentation data (ex-attrs.pdata)</div>
894
896
  <div class="program_caption">
895
897
  presentation logic (ex-attrs.plogic)</div>
896
898
  <pre class="program">#item {
897
- <b>attrs:</b> 'class' $class,
899
+ <strong>attrs:</strong> 'class' $class,
898
900
  'style' $style;
899
901
  }
900
902
  </pre>
901
903
  <div class="terminal_caption">
902
904
  compile</div>
903
905
  <pre class="terminal">$ kwartz -l eperl -p ex-attrs.plogic ex-attrs.pdata
904
- &lt;p <b>class="&lt;?= $class !&gt;"</b> <b>style="&lt;?= $style !&gt;"</b>&gt;
906
+ &lt;p <strong>class="&lt;?= $class !&gt;"</strong> <strong>style="&lt;?= $style !&gt;"</strong>&gt;
905
907
  AAA
906
908
  &lt;/p&gt;
907
909
  </pre>
@@ -942,13 +944,13 @@ presentation data (ex-append.pdata)</div>
942
944
  <div class="program_caption">
943
945
  presentation logic (ex-append.plogic)</div>
944
946
  <pre class="program">#remember {
945
- <b>append:</b> flag ? ' checked' : '';
947
+ <strong>append:</strong> flag ? ' checked' : '';
946
948
  }
947
949
  </pre>
948
950
  <div class="terminal_caption">
949
951
  compile</div>
950
952
  <pre class="terminal">$ kwartz -l eruby -p ex-append.plogic ex-append.pdata
951
- &lt;input type="checkboxk" value="y"<b>&lt;%= flag ? ' checked' : '' %&gt;</b>&gt;Remeber me
953
+ &lt;input type="checkboxk" value="y"<strong>&lt;%= flag ? ' checked' : '' %&gt;</strong>&gt;Remeber me
952
954
  </pre>
953
955
  <br>
954
956
 
@@ -961,13 +963,13 @@ presentation data (ex-append.pdata)</div>
961
963
  <div class="program_caption">
962
964
  presentation logic (ex-append.plogic)</div>
963
965
  <pre class="program">#remember {
964
- <b>append:</b> $flag ? ' checked' : '';
966
+ <strong>append:</strong> $flag ? ' checked' : '';
965
967
  }
966
968
  </pre>
967
969
  <div class="terminal_caption">
968
970
  compile</div>
969
971
  <pre class="terminal">$ kwartz -l php -p ex-append.plogic ex-append.pdata
970
- &lt;input type="checkboxk" value="y"<b>&lt;?php echo $flag ? ' checked' : ''; ?&gt;</b>&gt;Remeber me
972
+ &lt;input type="checkboxk" value="y"<strong>&lt;?php echo $flag ? ' checked' : ''; ?&gt;</strong>&gt;Remeber me
971
973
  </pre>
972
974
  <br>
973
975
 
@@ -980,7 +982,7 @@ presentation data (ex-append.pdata)</div>
980
982
  <div class="program_caption">
981
983
  presentation logic (ex-append.plogic)</div>
982
984
  <pre class="program">#remember {
983
- <b>append:</b> flag ? ' checked' : '';
985
+ <strong>append:</strong> flag ? ' checked' : '';
984
986
  }
985
987
  </pre>
986
988
  <div class="terminal_caption">
@@ -988,7 +990,7 @@ compile</div>
988
990
  <pre class="terminal">$ kwartz -l jstl -p ex-append.plogic ex-append.pdata
989
991
  &lt;%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %&gt;
990
992
  &lt;%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %&gt;
991
- &lt;input type="checkboxk" value="y"<b>${flag ? ' checked' : ''}</b>&gt;Remeber me
993
+ &lt;input type="checkboxk" value="y"<strong>${flag ? ' checked' : ''}</strong>&gt;Remeber me
992
994
  </pre>
993
995
  <br>
994
996
 
@@ -1001,13 +1003,13 @@ presentation data (ex-append.pdata)</div>
1001
1003
  <div class="program_caption">
1002
1004
  presentation logic (ex-append.plogic)</div>
1003
1005
  <pre class="program">#remember {
1004
- <b>append:</b> $flag ? ' checked' : '';
1006
+ <strong>append:</strong> $flag ? ' checked' : '';
1005
1007
  }
1006
1008
  </pre>
1007
1009
  <div class="terminal_caption">
1008
1010
  compile</div>
1009
1011
  <pre class="terminal">$ kwartz -l eperl -p ex-append.plogic ex-append.pdata
1010
- &lt;input type="checkboxk" value="y"<b>&lt;?= $flag ? ' checked' : '' !&gt;</b>&gt;Remeber me
1012
+ &lt;input type="checkboxk" value="y"<strong>&lt;?= $flag ? ' checked' : '' !&gt;</strong>&gt;Remeber me
1011
1013
  </pre>
1012
1014
  <br>
1013
1015
 
@@ -1029,7 +1031,7 @@ presentation data (ex-remove.pdata)</div>
1029
1031
  <div class="program_caption">
1030
1032
  presentation logic (ex-remove.plogic)</div>
1031
1033
  <pre class="program">#foo {
1032
- <b>remove:</b> 'id', 'style';
1034
+ <strong>remove:</strong> 'id', 'style';
1033
1035
  }
1034
1036
  </pre>
1035
1037
  <div class="terminal_caption">
@@ -1052,7 +1054,7 @@ presentation data (ex-remove.pdata)</div>
1052
1054
  <div class="program_caption">
1053
1055
  presentation logic (ex-remove.plogic)</div>
1054
1056
  <pre class="program">#foo {
1055
- <b>remove:</b> 'id', 'style';
1057
+ <strong>remove:</strong> 'id', 'style';
1056
1058
  }
1057
1059
  </pre>
1058
1060
  <div class="terminal_caption">
@@ -1075,7 +1077,7 @@ presentation data (ex-remove.pdata)</div>
1075
1077
  <div class="program_caption">
1076
1078
  presentation logic (ex-remove.plogic)</div>
1077
1079
  <pre class="program">#foo {
1078
- <b>remove:</b> 'id', 'style';
1080
+ <strong>remove:</strong> 'id', 'style';
1079
1081
  }
1080
1082
  </pre>
1081
1083
  <div class="terminal_caption">
@@ -1100,7 +1102,7 @@ presentation data (ex-remove.pdata)</div>
1100
1102
  <div class="program_caption">
1101
1103
  presentation logic (ex-remove.plogic)</div>
1102
1104
  <pre class="program">#foo {
1103
- <b>remove:</b> 'id', 'style';
1105
+ <strong>remove:</strong> 'id', 'style';
1104
1106
  }
1105
1107
  </pre>
1106
1108
  <div class="terminal_caption">
@@ -1142,14 +1144,14 @@ In the <code>logic:</code> property, the folllowings are available.
1142
1144
  represents end-tag of the element
1143
1145
  </dd>
1144
1146
  <dt class="dt3"><b>
1145
- <code>_element(<i>name</i>)</code> </b></dt>
1147
+ <code>_element(<em>name</em>)</code> </b></dt>
1146
1148
  <dd class="dd3">
1147
- represents the other element marked as <i>name</i>.
1149
+ represents the other element marked as <em>name</em>.
1148
1150
  </dd>
1149
1151
  <dt class="dt3"><b>
1150
- <code>_content(<i>name</i>)</code> </b></dt>
1152
+ <code>_content(<em>name</em>)</code> </b></dt>
1151
1153
  <dd class="dd3">
1152
- represents the content of other element marked as <i>name</i>.
1154
+ represents the content of other element marked as <em>name</em>.
1153
1155
  </dd>
1154
1156
  </dl>
1155
1157
  <p>In the <code>logic:</code> property, it is able to write statements in target language
@@ -1167,11 +1169,11 @@ presentation data (ex-logic.pdata)</div>
1167
1169
  presentation logic (ex-logic.plogic)</div>
1168
1170
  <pre class="program">#items {
1169
1171
  value: item;
1170
- <b>logic:</b> {
1172
+ <strong>logic:</strong> {
1171
1173
  @list.each do |item|
1172
- <b>_stag</b>
1173
- <b>_cont</b>
1174
- <b>_etag</b>
1174
+ <strong>_stag</strong>
1175
+ <strong>_cont</strong>
1176
+ <strong>_etag</strong>
1175
1177
  end
1176
1178
  }
1177
1179
  }
@@ -1180,9 +1182,9 @@ presentation logic (ex-logic.plogic)</div>
1180
1182
  compile</div>
1181
1183
  <pre class="terminal">$ kwartz -l eruby -p ex-logic.plogic ex-logic.pdata
1182
1184
  &lt;ul&gt;
1183
- <b>&lt;% @list.each do |item| %&gt;</b>
1185
+ <strong>&lt;% @list.each do |item| %&gt;</strong>
1184
1186
  &lt;li&gt;&lt;%= item %&gt;&lt;/li&gt;
1185
- <b>&lt;% end %&gt;</b>
1187
+ <strong>&lt;% end %&gt;</strong>
1186
1188
  &lt;/ul&gt;
1187
1189
  </pre>
1188
1190
  <br>
@@ -1199,11 +1201,11 @@ presentation data (ex-logic.pdata)</div>
1199
1201
  presentation logic (ex-logic.plogic)</div>
1200
1202
  <pre class="program">#items {
1201
1203
  value: $item;
1202
- <b>logic:</b> {
1204
+ <strong>logic:</strong> {
1203
1205
  foreach ($list as $item) {
1204
- <b>_stag();</b>
1205
- <b>_cont();</b>
1206
- <b>_etag();</b>
1206
+ <strong>_stag();</strong>
1207
+ <strong>_cont();</strong>
1208
+ <strong>_etag();</strong>
1207
1209
  }
1208
1210
  }
1209
1211
  }
@@ -1212,9 +1214,9 @@ presentation logic (ex-logic.plogic)</div>
1212
1214
  compile</div>
1213
1215
  <pre class="terminal">$ kwartz -l php -p ex-logic.plogic ex-logic.pdata
1214
1216
  &lt;ul&gt;
1215
- <b>&lt;?php foreach ($list as $item) { ?&gt;</b>
1217
+ <strong>&lt;?php foreach ($list as $item) { ?&gt;</strong>
1216
1218
  &lt;li&gt;&lt;?php echo $item; ?&gt;&lt;/li&gt;
1217
- <b>&lt;?php } ?&gt;</b>
1219
+ <strong>&lt;?php } ?&gt;</strong>
1218
1220
  &lt;/ul&gt;
1219
1221
  </pre>
1220
1222
  <br>
@@ -1231,11 +1233,11 @@ presentation data (ex-logic.pdata)</div>
1231
1233
  presentation logic (ex-logic.plogic)</div>
1232
1234
  <pre class="program">#items {
1233
1235
  value: item;
1234
- <b>logic:</b> {
1236
+ <strong>logic:</strong> {
1235
1237
  &lt;c:forEach var="item" items="${list}"&gt;
1236
- <b>_stag();</b>
1237
- <b>_cont();</b>
1238
- <b>_etag();</b>
1238
+ <strong>_stag();</strong>
1239
+ <strong>_cont();</strong>
1240
+ <strong>_etag();</strong>
1239
1241
  &lt;/c:forEach&gt;
1240
1242
  }
1241
1243
  }
@@ -1246,9 +1248,9 @@ compile</div>
1246
1248
  &lt;%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %&gt;
1247
1249
  &lt;%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %&gt;
1248
1250
  &lt;ul&gt;
1249
- <b>&lt;c:forEach var="item" items="${list}"&gt;</b>
1251
+ <strong>&lt;c:forEach var="item" items="${list}"&gt;</strong>
1250
1252
  &lt;li&gt;${item}&lt;/li&gt;
1251
- <b>&lt;/c:forEach&gt;</b>
1253
+ <strong>&lt;/c:forEach&gt;</strong>
1252
1254
  &lt;/ul&gt;
1253
1255
  </pre>
1254
1256
  <br>
@@ -1265,11 +1267,11 @@ presentation data (ex-logic.pdata)</div>
1265
1267
  presentation logic (ex-logic.plogic)</div>
1266
1268
  <pre class="program">#items {
1267
1269
  value: $item;
1268
- <b>logic:</b> {
1270
+ <strong>logic:</strong> {
1269
1271
  foreach ($item in @list) {
1270
- <b>_stag();</b>
1271
- <b>_cont();</b>
1272
- <b>_etag();</b>
1272
+ <strong>_stag();</strong>
1273
+ <strong>_cont();</strong>
1274
+ <strong>_etag();</strong>
1273
1275
  }
1274
1276
  }
1275
1277
  }
@@ -1278,9 +1280,9 @@ presentation logic (ex-logic.plogic)</div>
1278
1280
  compile</div>
1279
1281
  <pre class="terminal">$ kwartz -l eperl -p ex-logic.plogic ex-logic.pdata
1280
1282
  &lt;ul&gt;
1281
- <b>&lt;? foreach ($item in @list) { !&gt;</b>
1283
+ <strong>&lt;? foreach ($item in @list) { !&gt;</strong>
1282
1284
  &lt;li&gt;&lt;?= $item !&gt;&lt;/li&gt;
1283
- <b>&lt;? } !&gt;</b>
1285
+ <strong>&lt;? } !&gt;</strong>
1284
1286
  &lt;/ul&gt;
1285
1287
  </pre>
1286
1288
  <br>
@@ -1307,13 +1309,12 @@ presentation data (ex-begin.pdata)</div>
1307
1309
  <div class="program_caption">
1308
1310
  presentation logic (ex-begin.plogic)</div>
1309
1311
  <pre class="program">#DOCUMENT {
1310
- <b>begin:</b> {
1312
+ <strong>begin:</strong> {
1311
1313
  username = @context[:username]
1312
1314
  menulist = @context[:menulist]
1313
1315
  }
1314
- <b>end:</b> {
1316
+ <strong>end:</strong> {
1315
1317
  print "&lt;!-- document end --&gt;\n"
1316
-
1317
1318
  }
1318
1319
  }
1319
1320
  #username {
@@ -1331,15 +1332,15 @@ presentation logic (ex-begin.plogic)</div>
1331
1332
  <div class="terminal_caption">
1332
1333
  compile</div>
1333
1334
  <pre class="terminal">$ kwartz -l eruby -p ex-begin.plogic ex-begin.pdata
1334
- <b>&lt;% username = @context[:username] %&gt;</b>
1335
- <b>&lt;% menulist = @context[:menulist] %&gt;</b>
1335
+ <strong>&lt;% username = @context[:username] %&gt;</strong>
1336
+ <strong>&lt;% menulist = @context[:menulist] %&gt;</strong>
1336
1337
  &lt;p&gt;Hello &lt;span&gt;&lt;%= username %&gt;&lt;/span&gt;!&lt;/p&gt;
1337
1338
  &lt;ul&gt;
1338
1339
  &lt;% for menu in menulist %&gt;
1339
1340
  &lt;li&gt;&lt;%= menu %&gt;&lt;/li&gt;
1340
1341
  &lt;% end %&gt;
1341
1342
  &lt;/ul&gt;
1342
- <b>&lt;%= "&lt;!-- document end --&gt;\n" %&gt;</b>
1343
+ <strong>&lt;%= "&lt;!-- document end --&gt;\n" %&gt;</strong>
1343
1344
  </pre>
1344
1345
  <br>
1345
1346
 
@@ -1355,13 +1356,12 @@ presentation data (ex-begin.pdata)</div>
1355
1356
  <div class="program_caption">
1356
1357
  presentation logic (ex-begin.plogic)</div>
1357
1358
  <pre class="program">#DOCUMENT {
1358
- <b>begin:</b> {
1359
+ <strong>begin:</strong> {
1359
1360
  $username = $context['username'];
1360
1361
  $menulist = $context['menulist'];
1361
1362
  }
1362
- <b>end:</b> {
1363
+ <strong>end:</strong> {
1363
1364
  print("&lt;!-- document end --&gt;\n");
1364
-
1365
1365
  }
1366
1366
  }
1367
1367
  #username {
@@ -1379,15 +1379,15 @@ presentation logic (ex-begin.plogic)</div>
1379
1379
  <div class="terminal_caption">
1380
1380
  compile</div>
1381
1381
  <pre class="terminal">$ kwartz -l php -p ex-begin.plogic ex-begin.pdata
1382
- <b>&lt;?php $username = $context['username']; ?&gt;</b>
1383
- <b>&lt;?php $menulist = $context['menulist']; ?&gt;</b>
1382
+ <strong>&lt;?php $username = $context['username']; ?&gt;</strong>
1383
+ <strong>&lt;?php $menulist = $context['menulist']; ?&gt;</strong>
1384
1384
  &lt;p&gt;Hello &lt;span&gt;&lt;?php echo $username; ?&gt;&lt;/span&gt;!&lt;/p&gt;
1385
1385
  &lt;ul&gt;
1386
1386
  &lt;?php foreach ($menulist as $menu) { ?&gt;
1387
1387
  &lt;li&gt;&lt;?php echo $menu; ?&gt;&lt;/li&gt;
1388
1388
  &lt;?php } ?&gt;
1389
1389
  &lt;/ul&gt;
1390
- <b>&lt;?php echo "&lt;!-- document end --&gt;\n"; ?&gt;</b>
1390
+ <strong>&lt;?php echo "&lt;!-- document end --&gt;\n"; ?&gt;</strong>
1391
1391
  </pre>
1392
1392
  <br>
1393
1393
 
@@ -1403,11 +1403,11 @@ presentation data (ex-begin.pdata)</div>
1403
1403
  <div class="program_caption">
1404
1404
  presentation logic (ex-begin.plogic)</div>
1405
1405
  <pre class="program">#DOCUMENT {
1406
- <b>begin:</b> {
1406
+ <strong>begin:</strong> {
1407
1407
  &lt;c:set var="username" value="${context.username}"/&gt;
1408
1408
  &lt;c:set var="menulist" value="${context.menulist}"/&gt;
1409
1409
  }
1410
- <b>end:</b> {
1410
+ <strong>end:</strong> {
1411
1411
  &lt;c:out value="&lt;!-- document end --&gt;\n"/&gt;
1412
1412
  }
1413
1413
  }
@@ -1428,15 +1428,15 @@ compile</div>
1428
1428
  <pre class="terminal">$ kwartz -l jstl -p ex-begin.plogic ex-begin.pdata
1429
1429
  &lt;%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %&gt;
1430
1430
  &lt;%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %&gt;
1431
- <b>&lt;c:set var="username" value="${context.username}"/&gt;</b>
1432
- <b>&lt;c:set var="menulist" value="${context.menulist}"/&gt;</b>
1431
+ <strong>&lt;c:set var="username" value="${context.username}"/&gt;</strong>
1432
+ <strong>&lt;c:set var="menulist" value="${context.menulist}"/&gt;</strong>
1433
1433
  &lt;p&gt;Hello &lt;span&gt;${username}&lt;/span&gt;!&lt;/p&gt;
1434
1434
  &lt;ul&gt;
1435
1435
  &lt;c:forEach var="menu" items="${menulist}"&gt;
1436
1436
  &lt;li&gt;${menu}&lt;/li&gt;
1437
1437
  &lt;/c:forEach&gt;
1438
1438
  &lt;/ul&gt;
1439
- <b>&lt;c:out value="&lt;!-- document end --&gt;\n"/&gt;</b>
1439
+ <strong>&lt;c:out value="&lt;!-- document end --&gt;\n"/&gt;</strong>
1440
1440
  </pre>
1441
1441
  <br>
1442
1442
 
@@ -1452,13 +1452,12 @@ presentation data (ex-begin.pdata)</div>
1452
1452
  <div class="program_caption">
1453
1453
  presentation logic (ex-begin.plogic)</div>
1454
1454
  <pre class="program">#DOCUMENT {
1455
- <b>begin:</b> {
1455
+ <strong>begin:</strong> {
1456
1456
  $username = $context{'username'};
1457
1457
  @menulist = $context{'menulist'};
1458
1458
  }
1459
- <b>end:</b> {
1459
+ <strong>end:</strong> {
1460
1460
  print("&lt;!-- document end --&gt;\n");
1461
-
1462
1461
  }
1463
1462
  }
1464
1463
  #username {
@@ -1476,15 +1475,15 @@ presentation logic (ex-begin.plogic)</div>
1476
1475
  <div class="terminal_caption">
1477
1476
  compile</div>
1478
1477
  <pre class="terminal">$ kwartz -l eperl -p ex-begin.plogic ex-begin.pdata
1479
- <b>&lt;? $username = $context{'username'}; !&gt;</b>
1480
- <b>&lt;? @menulist = $context{'menulist'}; !&gt;</b>
1478
+ <strong>&lt;? $username = $context{'username'}; !&gt;</strong>
1479
+ <strong>&lt;? @menulist = $context{'menulist'}; !&gt;</strong>
1481
1480
  &lt;p&gt;Hello &lt;span&gt;&lt;?= $username !&gt;&lt;/span&gt;!&lt;/p&gt;
1482
1481
  &lt;ul&gt;
1483
1482
  &lt;? foreach ($menu in @menulist) { !&gt;
1484
1483
  &lt;li&gt;&lt;?= $menu !&gt;&lt;/li&gt;
1485
1484
  &lt;? } !&gt;
1486
1485
  &lt;/ul&gt;
1487
- <b>&lt;?= "&lt;!-- document end --&gt;\n" !&gt;</b>
1486
+ <strong>&lt;?= "&lt;!-- document end --&gt;\n" !&gt;</strong>
1488
1487
  </pre>
1489
1488
  <br>
1490
1489
 
@@ -1499,7 +1498,7 @@ compile</div>
1499
1498
  <p>Directives are commands to embed presentation logics into presentation data.
1500
1499
  For example, <code>title="for item in @list"</code> directive represents iteration of the element.
1501
1500
  </p>
1502
- <p>Directives are provided for '<b>choosability</b>'.
1501
+ <p>Directives are provided for '<strong>choosability</strong>'.
1503
1502
  This is very important concept for Kwartz (and other products by kuwata-lab).
1504
1503
  In Kwartz, you can separate presentation logics from presentation data, or 'mix' them.
1505
1504
  It is the user or customer of Kwartz and not developer who determine which solution to adopt.
@@ -1522,16 +1521,16 @@ or PROPERTY_ESCAPE is true in configuration file.
1522
1521
  <h4 class="section3">Ruby</h4>
1523
1522
  <div class="program_caption">
1524
1523
  presentation data (ex-elem.pdata)</div>
1525
- <pre class="program">&lt;b <b>title="elem: expr"</b>&gt;foo&lt;/b&gt;
1526
- &lt;b <b>title="Elem: expr"</b>&gt;foo&lt;/b&gt;
1527
- &lt;b <b>title="ELEM: expr"</b>&gt;foo&lt;/b&gt;
1524
+ <pre class="program">&lt;b <strong>kw:d="elem: expr"</strong>&gt;foo&lt;/b&gt;
1525
+ &lt;b <strong>kw:d="Elem: expr"</strong>&gt;foo&lt;/b&gt;
1526
+ &lt;b <strong>kw:d="ELEM: expr"</strong>&gt;foo&lt;/b&gt;
1528
1527
  </pre>
1529
1528
  <div class="terminal_caption">
1530
1529
  compile</div>
1531
1530
  <pre class="terminal">$ kwartz -l eruby ex-elem.pdata
1532
- <b>&lt;%= expr %&gt;</b>
1533
- <b>&lt;%=h expr %&gt;</b>
1534
- <b>&lt;%= expr %&gt;</b>
1531
+ <strong>&lt;%= expr %&gt;</strong>
1532
+ <strong>&lt;%=h expr %&gt;</strong>
1533
+ <strong>&lt;%= expr %&gt;</strong>
1535
1534
  </pre>
1536
1535
  <br>
1537
1536
 
@@ -1539,16 +1538,16 @@ compile</div>
1539
1538
  <h4 class="section3">PHP</h4>
1540
1539
  <div class="program_caption">
1541
1540
  presentation data (ex-elem.pdata)</div>
1542
- <pre class="program">&lt;b <b>title="elem($expr)"</b>&gt;foo&lt;/b&gt;
1543
- &lt;b <b>title="Elem($expr)"</b>&gt;foo&lt;/b&gt;
1544
- &lt;b <b>title="ELEM($expr)"</b>&gt;foo&lt;/b&gt;
1541
+ <pre class="program">&lt;b <strong>kw:d="elem($expr)"</strong>&gt;foo&lt;/b&gt;
1542
+ &lt;b <strong>kw:d="Elem($expr)"</strong>&gt;foo&lt;/b&gt;
1543
+ &lt;b <strong>kw:d="ELEM($expr)"</strong>&gt;foo&lt;/b&gt;
1545
1544
  </pre>
1546
1545
  <div class="terminal_caption">
1547
1546
  compile</div>
1548
1547
  <pre class="terminal">$ kwartz -l php ex-elem.pdata
1549
- <b>&lt;?php echo $expr; ?&gt;</b>
1550
- <b>&lt;?php echo htmlspecialchars($expr); ?&gt;</b>
1551
- <b>&lt;?php echo $expr; ?&gt;</b>
1548
+ <strong>&lt;?php echo $expr; ?&gt;</strong>
1549
+ <strong>&lt;?php echo htmlspecialchars($expr); ?&gt;</strong>
1550
+ <strong>&lt;?php echo $expr; ?&gt;</strong>
1552
1551
  </pre>
1553
1552
  <br>
1554
1553
 
@@ -1556,16 +1555,16 @@ compile</div>
1556
1555
  <h4 class="section3">JSP</h4>
1557
1556
  <div class="program_caption">
1558
1557
  presentation data (ex-elem.pdata)</div>
1559
- <pre class="program">&lt;b <b>title="elem(expr)"</b>&gt;foo&lt;/b&gt;
1560
- &lt;b <b>title="Elem(expr)"</b>&gt;foo&lt;/b&gt;
1561
- &lt;b <b>title="ELEM(expr)"</b>&gt;foo&lt;/b&gt;
1558
+ <pre class="program">&lt;b <strong>kw:d="elem(expr)"</strong>&gt;foo&lt;/b&gt;
1559
+ &lt;b <strong>kw:d="Elem(expr)"</strong>&gt;foo&lt;/b&gt;
1560
+ &lt;b <strong>kw:d="ELEM(expr)"</strong>&gt;foo&lt;/b&gt;
1562
1561
  </pre>
1563
1562
  <div class="terminal_caption">
1564
1563
  compile</div>
1565
1564
  <pre class="terminal">$ kwartz -l jstl ex-elem.pdata
1566
- <b>${expr}</b>
1567
- <b>${expr}</b>
1568
- <b>&lt;c:out value="${expr}" escapeXml="false"/&gt;</b>
1565
+ <strong>${expr}</strong>
1566
+ <strong>${expr}</strong>
1567
+ <strong>&lt;c:out value="${expr}" escapeXml="false"/&gt;</strong>
1569
1568
  </pre>
1570
1569
  <br>
1571
1570
 
@@ -1573,16 +1572,16 @@ compile</div>
1573
1572
  <h4 class="section3">Perl</h4>
1574
1573
  <div class="program_caption">
1575
1574
  presentation data (ex-elem.pdata)</div>
1576
- <pre class="program">&lt;b <b>title="elem($expr)"</b>&gt;foo&lt;/b&gt;
1577
- &lt;b <b>title="Elem($expr)"</b>&gt;foo&lt;/b&gt;
1578
- &lt;b <b>title="ELEM($expr)"</b>&gt;foo&lt;/b&gt;
1575
+ <pre class="program">&lt;b <strong>kw:d="elem($expr)"</strong>&gt;foo&lt;/b&gt;
1576
+ &lt;b <strong>kw:d="Elem($expr)"</strong>&gt;foo&lt;/b&gt;
1577
+ &lt;b <strong>kw:d="ELEM($expr)"</strong>&gt;foo&lt;/b&gt;
1579
1578
  </pre>
1580
1579
  <div class="terminal_caption">
1581
1580
  compile</div>
1582
1581
  <pre class="terminal">$ kwartz -l eperl ex-elem.pdata
1583
- <b>&lt;?= $expr !&gt;</b>
1584
- <b>&lt;?= encode_entities($expr) !&gt;</b>
1585
- <b>&lt;?= $expr !&gt;</b>
1582
+ <strong>&lt;?= $expr !&gt;</strong>
1583
+ <strong>&lt;?= encode_entities($expr) !&gt;</strong>
1584
+ <strong>&lt;?= $expr !&gt;</strong>
1586
1585
  </pre>
1587
1586
  <br>
1588
1587
 
@@ -1601,16 +1600,16 @@ or PROPERTY_ESCAPE is true in configuration file.
1601
1600
  <h4 class="section3">Ruby</h4>
1602
1601
  <div class="program_caption">
1603
1602
  presentation data (ex-stag.pdata)</div>
1604
- <pre class="program">&lt;b <b>title="stag: expr"</b>&gt;foo&lt;/b&gt;
1605
- &lt;b <b>title="Stag: expr"</b>&gt;foo&lt;/b&gt;
1606
- &lt;b <b>title="STAG: expr"</b>&gt;foo&lt;/b&gt;
1603
+ <pre class="program">&lt;b <strong>kw:d="stag: expr"</strong>&gt;foo&lt;/b&gt;
1604
+ &lt;b <strong>kw:d="Stag: expr"</strong>&gt;foo&lt;/b&gt;
1605
+ &lt;b <strong>kw:d="STAG: expr"</strong>&gt;foo&lt;/b&gt;
1607
1606
  </pre>
1608
1607
  <div class="terminal_caption">
1609
1608
  compile</div>
1610
1609
  <pre class="terminal">$ kwartz -l eruby ex-stag.pdata
1611
- <b>&lt;%= expr %&gt;</b>foo&lt;/b&gt;
1612
- <b>&lt;%=h expr %&gt;</b>foo&lt;/b&gt;
1613
- <b>&lt;%= expr %&gt;</b>foo&lt;/b&gt;
1610
+ <strong>&lt;%= expr %&gt;</strong>foo&lt;/b&gt;
1611
+ <strong>&lt;%=h expr %&gt;</strong>foo&lt;/b&gt;
1612
+ <strong>&lt;%= expr %&gt;</strong>foo&lt;/b&gt;
1614
1613
  </pre>
1615
1614
  <br>
1616
1615
 
@@ -1618,16 +1617,16 @@ compile</div>
1618
1617
  <h4 class="section3">PHP</h4>
1619
1618
  <div class="program_caption">
1620
1619
  presentation data (ex-stag.pdata)</div>
1621
- <pre class="program">&lt;b <b>title="stag($expr)"</b>&gt;foo&lt;/b&gt;
1622
- &lt;b <b>title="Stag($expr)"</b>&gt;foo&lt;/b&gt;
1623
- &lt;b <b>title="STAG($expr)"</b>&gt;foo&lt;/b&gt;
1620
+ <pre class="program">&lt;b <strong>kw:d="stag($expr)"</strong>&gt;foo&lt;/b&gt;
1621
+ &lt;b <strong>kw:d="Stag($expr)"</strong>&gt;foo&lt;/b&gt;
1622
+ &lt;b <strong>kw:d="STAG($expr)"</strong>&gt;foo&lt;/b&gt;
1624
1623
  </pre>
1625
1624
  <div class="terminal_caption">
1626
1625
  compile</div>
1627
1626
  <pre class="terminal">$ kwartz -l php ex-stag.pdata
1628
- <b>&lt;?php echo $expr; ?&gt;</b>foo&lt;/b&gt;
1629
- <b>&lt;?php echo htmlspecialchars($expr); ?&gt;</b>foo&lt;/b&gt;
1630
- <b>&lt;?php echo $expr; ?&gt;</b>foo&lt;/b&gt;
1627
+ <strong>&lt;?php echo $expr; ?&gt;</strong>foo&lt;/b&gt;
1628
+ <strong>&lt;?php echo htmlspecialchars($expr); ?&gt;</strong>foo&lt;/b&gt;
1629
+ <strong>&lt;?php echo $expr; ?&gt;</strong>foo&lt;/b&gt;
1631
1630
  </pre>
1632
1631
  <br>
1633
1632
 
@@ -1635,16 +1634,16 @@ compile</div>
1635
1634
  <h4 class="section3">JSP</h4>
1636
1635
  <div class="program_caption">
1637
1636
  presentation data (ex-stag.pdata)</div>
1638
- <pre class="program">&lt;b <b>title="stag(expr)"</b>&gt;foo&lt;/b&gt;
1639
- &lt;b <b>title="Stag(expr)"</b>&gt;foo&lt;/b&gt;
1640
- &lt;b <b>title="STAG(expr)"</b>&gt;foo&lt;/b&gt;
1637
+ <pre class="program">&lt;b <strong>kw:d="stag(expr)"</strong>&gt;foo&lt;/b&gt;
1638
+ &lt;b <strong>kw:d="Stag(expr)"</strong>&gt;foo&lt;/b&gt;
1639
+ &lt;b <strong>kw:d="STAG(expr)"</strong>&gt;foo&lt;/b&gt;
1641
1640
  </pre>
1642
1641
  <div class="terminal_caption">
1643
1642
  compile</div>
1644
1643
  <pre class="terminal">$ kwartz -l jstl ex-stag.pdata
1645
- <b>${expr}</b>foo&lt;/b&gt;
1646
- <b>${expr}</b>foo&lt;/b&gt;
1647
- <b>&lt;c:out value="${expr}" escapeXml="false"/&gt;</b>foo&lt;/b&gt;
1644
+ <strong>${expr}</strong>foo&lt;/b&gt;
1645
+ <strong>${expr}</strong>foo&lt;/b&gt;
1646
+ <strong>&lt;c:out value="${expr}" escapeXml="false"/&gt;</strong>foo&lt;/b&gt;
1648
1647
  </pre>
1649
1648
  <br>
1650
1649
 
@@ -1652,16 +1651,16 @@ compile</div>
1652
1651
  <h4 class="section3">Perl</h4>
1653
1652
  <div class="program_caption">
1654
1653
  presentation data (ex-stag.pdata)</div>
1655
- <pre class="program">&lt;b <b>title="stag($expr)"</b>&gt;foo&lt;/b&gt;
1656
- &lt;b <b>title="Stag($expr)"</b>&gt;foo&lt;/b&gt;
1657
- &lt;b <b>title="STAG($expr)"</b>&gt;foo&lt;/b&gt;
1654
+ <pre class="program">&lt;b <strong>kw:d="stag($expr)"</strong>&gt;foo&lt;/b&gt;
1655
+ &lt;b <strong>kw:d="Stag($expr)"</strong>&gt;foo&lt;/b&gt;
1656
+ &lt;b <strong>kw:d="STAG($expr)"</strong>&gt;foo&lt;/b&gt;
1658
1657
  </pre>
1659
1658
  <div class="terminal_caption">
1660
1659
  compile</div>
1661
1660
  <pre class="terminal">$ kwartz -l eperl ex-stag.pdata
1662
- <b>&lt;?= $expr !&gt;</b>foo&lt;/b&gt;
1663
- <b>&lt;?= encode_entities($expr) !&gt;</b>foo&lt;/b&gt;
1664
- <b>&lt;?= $expr !&gt;</b>foo&lt;/b&gt;
1661
+ <strong>&lt;?= $expr !&gt;</strong>foo&lt;/b&gt;
1662
+ <strong>&lt;?= encode_entities($expr) !&gt;</strong>foo&lt;/b&gt;
1663
+ <strong>&lt;?= $expr !&gt;</strong>foo&lt;/b&gt;
1665
1664
  </pre>
1666
1665
  <br>
1667
1666
 
@@ -1680,16 +1679,16 @@ or PROPERTY_ESCAPE is true in configuration file.
1680
1679
  <h4 class="section3">Ruby</h4>
1681
1680
  <div class="program_caption">
1682
1681
  presentation data (ex-etag.pdata)</div>
1683
- <pre class="program">&lt;b <b>title="etag: expr"</b>&gt;foo&lt;/b&gt;
1684
- &lt;b <b>title="Etag: expr"</b>&gt;foo&lt;/b&gt;
1685
- &lt;b <b>title="ETAG: expr"</b>&gt;foo&lt;/b&gt;
1682
+ <pre class="program">&lt;b <strong>kw:d="etag: expr"</strong>&gt;foo&lt;/b&gt;
1683
+ &lt;b <strong>kw:d="Etag: expr"</strong>&gt;foo&lt;/b&gt;
1684
+ &lt;b <strong>kw:d="ETAG: expr"</strong>&gt;foo&lt;/b&gt;
1686
1685
  </pre>
1687
1686
  <div class="terminal_caption">
1688
1687
  compile</div>
1689
1688
  <pre class="terminal">$ kwartz -l eruby ex-etag.pdata
1690
- &lt;b&gt;foo<b>&lt;%= expr %&gt;</b>
1691
- &lt;b&gt;foo<b>&lt;%=h expr %&gt;</b>
1692
- &lt;b&gt;foo<b>&lt;%= expr %&gt;</b>
1689
+ &lt;b&gt;foo<strong>&lt;%= expr %&gt;</strong>
1690
+ &lt;b&gt;foo<strong>&lt;%=h expr %&gt;</strong>
1691
+ &lt;b&gt;foo<strong>&lt;%= expr %&gt;</strong>
1693
1692
  </pre>
1694
1693
  <br>
1695
1694
 
@@ -1697,16 +1696,16 @@ compile</div>
1697
1696
  <h4 class="section3">PHP</h4>
1698
1697
  <div class="program_caption">
1699
1698
  presentation data (ex-etag.pdata)</div>
1700
- <pre class="program">&lt;b <b>title="etag($expr)"</b>&gt;foo&lt;/b&gt;
1701
- &lt;b <b>title="Etag($expr)"</b>&gt;foo&lt;/b&gt;
1702
- &lt;b <b>title="ETAG($expr)"</b>&gt;foo&lt;/b&gt;
1699
+ <pre class="program">&lt;b <strong>kw:d="etag($expr)"</strong>&gt;foo&lt;/b&gt;
1700
+ &lt;b <strong>kw:d="Etag($expr)"</strong>&gt;foo&lt;/b&gt;
1701
+ &lt;b <strong>kw:d="ETAG($expr)"</strong>&gt;foo&lt;/b&gt;
1703
1702
  </pre>
1704
1703
  <div class="terminal_caption">
1705
1704
  compile</div>
1706
1705
  <pre class="terminal">$ kwartz -l php ex-etag.pdata
1707
- &lt;b&gt;foo<b>&lt;?php echo $expr; ?&gt;</b>
1708
- &lt;b&gt;foo<b>&lt;?php echo htmlspecialchars($expr); ?&gt;</b>
1709
- &lt;b&gt;foo<b>&lt;?php echo $expr; ?&gt;</b>
1706
+ &lt;b&gt;foo<strong>&lt;?php echo $expr; ?&gt;</strong>
1707
+ &lt;b&gt;foo<strong>&lt;?php echo htmlspecialchars($expr); ?&gt;</strong>
1708
+ &lt;b&gt;foo<strong>&lt;?php echo $expr; ?&gt;</strong>
1710
1709
  </pre>
1711
1710
  <br>
1712
1711
 
@@ -1714,16 +1713,16 @@ compile</div>
1714
1713
  <h4 class="section3">JSP</h4>
1715
1714
  <div class="program_caption">
1716
1715
  presentation data (ex-etag.pdata)</div>
1717
- <pre class="program">&lt;b <b>title="etag(expr)"</b>&gt;foo&lt;/b&gt;
1718
- &lt;b <b>title="Etag(expr)"</b>&gt;foo&lt;/b&gt;
1719
- &lt;b <b>title="ETAG(expr)"</b>&gt;foo&lt;/b&gt;
1716
+ <pre class="program">&lt;b <strong>kw:d="etag(expr)"</strong>&gt;foo&lt;/b&gt;
1717
+ &lt;b <strong>kw:d="Etag(expr)"</strong>&gt;foo&lt;/b&gt;
1718
+ &lt;b <strong>kw:d="ETAG(expr)"</strong>&gt;foo&lt;/b&gt;
1720
1719
  </pre>
1721
1720
  <div class="terminal_caption">
1722
1721
  compile</div>
1723
1722
  <pre class="terminal">$ kwartz -l jstl ex-etag.pdata
1724
- &lt;b&gt;foo<b>${expr}</b>
1725
- &lt;b&gt;foo<b>${expr}</b>
1726
- &lt;b&gt;foo<b>&lt;c:out value="${expr}" escapeXml="false"/&gt;</b>
1723
+ &lt;b&gt;foo<strong>${expr}</strong>
1724
+ &lt;b&gt;foo<strong>${expr}</strong>
1725
+ &lt;b&gt;foo<strong>&lt;c:out value="${expr}" escapeXml="false"/&gt;</strong>
1727
1726
  </pre>
1728
1727
  <br>
1729
1728
 
@@ -1731,16 +1730,16 @@ compile</div>
1731
1730
  <h4 class="section3">Perl</h4>
1732
1731
  <div class="program_caption">
1733
1732
  presentation data (ex-etag.pdata)</div>
1734
- <pre class="program">&lt;b <b>title="etag($expr)"</b>&gt;foo&lt;/b&gt;
1735
- &lt;b <b>title="Etag($expr)"</b>&gt;foo&lt;/b&gt;
1736
- &lt;b <b>title="ETAG($expr)"</b>&gt;foo&lt;/b&gt;
1733
+ <pre class="program">&lt;b <strong>kw:d="etag($expr)"</strong>&gt;foo&lt;/b&gt;
1734
+ &lt;b <strong>kw:d="Etag($expr)"</strong>&gt;foo&lt;/b&gt;
1735
+ &lt;b <strong>kw:d="ETAG($expr)"</strong>&gt;foo&lt;/b&gt;
1737
1736
  </pre>
1738
1737
  <div class="terminal_caption">
1739
1738
  compile</div>
1740
1739
  <pre class="terminal">$ kwartz -l eperl ex-etag.pdata
1741
- &lt;b&gt;foo<b>&lt;?= $expr !&gt;</b>
1742
- &lt;b&gt;foo<b>&lt;?= encode_entities($expr) !&gt;</b>
1743
- &lt;b&gt;foo<b>&lt;?= $expr !&gt;</b>
1740
+ &lt;b&gt;foo<strong>&lt;?= $expr !&gt;</strong>
1741
+ &lt;b&gt;foo<strong>&lt;?= encode_entities($expr) !&gt;</strong>
1742
+ &lt;b&gt;foo<strong>&lt;?= $expr !&gt;</strong>
1744
1743
  </pre>
1745
1744
  <br>
1746
1745
 
@@ -1759,16 +1758,16 @@ or PROPERTY_ESCAPE is true in configuration file.
1759
1758
  <h4 class="section3">Ruby</h4>
1760
1759
  <div class="program_caption">
1761
1760
  presentation data (ex-cont.pdata)</div>
1762
- <pre class="program">&lt;b <b>title="cont: expr"</b>&gt;foo&lt;/b&gt;
1763
- &lt;b <b>title="Cont: expr"</b>&gt;foo&lt;/b&gt;
1764
- &lt;b <b>title="CONT: expr"</b>&gt;foo&lt;/b&gt;
1761
+ <pre class="program">&lt;b <strong>kw:d="cont: expr"</strong>&gt;foo&lt;/b&gt;
1762
+ &lt;b <strong>kw:d="Cont: expr"</strong>&gt;foo&lt;/b&gt;
1763
+ &lt;b <strong>kw:d="CONT: expr"</strong>&gt;foo&lt;/b&gt;
1765
1764
  </pre>
1766
1765
  <div class="terminal_caption">
1767
1766
  compile</div>
1768
1767
  <pre class="terminal">$ kwartz -l eruby ex-cont.pdata
1769
- &lt;b&gt;<b>&lt;%= expr %&gt;</b>&lt;/b&gt;
1770
- &lt;b&gt;<b>&lt;%=h expr %&gt;</b>&lt;/b&gt;
1771
- &lt;b&gt;<b>&lt;%= expr %&gt;</b>&lt;/b&gt;
1768
+ &lt;b&gt;<strong>&lt;%= expr %&gt;</strong>&lt;/b&gt;
1769
+ &lt;b&gt;<strong>&lt;%=h expr %&gt;</strong>&lt;/b&gt;
1770
+ &lt;b&gt;<strong>&lt;%= expr %&gt;</strong>&lt;/b&gt;
1772
1771
  </pre>
1773
1772
  <br>
1774
1773
 
@@ -1776,16 +1775,16 @@ compile</div>
1776
1775
  <h4 class="section3">PHP</h4>
1777
1776
  <div class="program_caption">
1778
1777
  presentation data (ex-cont.pdata)</div>
1779
- <pre class="program">&lt;b <b>title="cont($expr)"</b>&gt;foo&lt;/b&gt;
1780
- &lt;b <b>title="Cont($expr)"</b>&gt;foo&lt;/b&gt;
1781
- &lt;b <b>title="CONT($expr)"</b>&gt;foo&lt;/b&gt;
1778
+ <pre class="program">&lt;b <strong>kw:d="cont($expr)"</strong>&gt;foo&lt;/b&gt;
1779
+ &lt;b <strong>kw:d="Cont($expr)"</strong>&gt;foo&lt;/b&gt;
1780
+ &lt;b <strong>kw:d="CONT($expr)"</strong>&gt;foo&lt;/b&gt;
1782
1781
  </pre>
1783
1782
  <div class="terminal_caption">
1784
1783
  compile</div>
1785
1784
  <pre class="terminal">$ kwartz -l php ex-cont.pdata
1786
- &lt;b&gt;<b>&lt;?php echo $expr; ?&gt;</b>&lt;/b&gt;
1787
- &lt;b&gt;<b>&lt;?php echo htmlspecialchars($expr); ?&gt;</b>&lt;/b&gt;
1788
- &lt;b&gt;<b>&lt;?php echo $expr; ?&gt;</b>&lt;/b&gt;
1785
+ &lt;b&gt;<strong>&lt;?php echo $expr; ?&gt;</strong>&lt;/b&gt;
1786
+ &lt;b&gt;<strong>&lt;?php echo htmlspecialchars($expr); ?&gt;</strong>&lt;/b&gt;
1787
+ &lt;b&gt;<strong>&lt;?php echo $expr; ?&gt;</strong>&lt;/b&gt;
1789
1788
  </pre>
1790
1789
  <br>
1791
1790
 
@@ -1793,16 +1792,16 @@ compile</div>
1793
1792
  <h4 class="section3">JSP</h4>
1794
1793
  <div class="program_caption">
1795
1794
  presentation data (ex-cont.pdata)</div>
1796
- <pre class="program">&lt;b <b>title="cont(expr)"</b>&gt;foo&lt;/b&gt;
1797
- &lt;b <b>title="Cont(expr)"</b>&gt;foo&lt;/b&gt;
1798
- &lt;b <b>title="CONT(expr)"</b>&gt;foo&lt;/b&gt;
1795
+ <pre class="program">&lt;b <strong>kw:d="cont(expr)"</strong>&gt;foo&lt;/b&gt;
1796
+ &lt;b <strong>kw:d="Cont(expr)"</strong>&gt;foo&lt;/b&gt;
1797
+ &lt;b <strong>kw:d="CONT(expr)"</strong>&gt;foo&lt;/b&gt;
1799
1798
  </pre>
1800
1799
  <div class="terminal_caption">
1801
1800
  compile</div>
1802
1801
  <pre class="terminal">$ kwartz -l jstl ex-cont.pdata
1803
- &lt;b&gt;<b>${expr}</b>&lt;/b&gt;
1804
- &lt;b&gt;<b>${expr}</b>&lt;/b&gt;
1805
- &lt;b&gt;<b>&lt;c:out value="${expr}" escapeXml="false"/&gt;</b>&lt;/b&gt;
1802
+ &lt;b&gt;<strong>${expr}</strong>&lt;/b&gt;
1803
+ &lt;b&gt;<strong>${expr}</strong>&lt;/b&gt;
1804
+ &lt;b&gt;<strong>&lt;c:out value="${expr}" escapeXml="false"/&gt;</strong>&lt;/b&gt;
1806
1805
  </pre>
1807
1806
  <br>
1808
1807
 
@@ -1810,16 +1809,16 @@ compile</div>
1810
1809
  <h4 class="section3">Perl</h4>
1811
1810
  <div class="program_caption">
1812
1811
  presentation data (ex-cont.pdata)</div>
1813
- <pre class="program">&lt;b <b>title="cont($expr)"</b>&gt;foo&lt;/b&gt;
1814
- &lt;b <b>title="Cont($expr)"</b>&gt;foo&lt;/b&gt;
1815
- &lt;b <b>title="CONT($expr)"</b>&gt;foo&lt;/b&gt;
1812
+ <pre class="program">&lt;b <strong>kw:d="cont($expr)"</strong>&gt;foo&lt;/b&gt;
1813
+ &lt;b <strong>kw:d="Cont($expr)"</strong>&gt;foo&lt;/b&gt;
1814
+ &lt;b <strong>kw:d="CONT($expr)"</strong>&gt;foo&lt;/b&gt;
1816
1815
  </pre>
1817
1816
  <div class="terminal_caption">
1818
1817
  compile</div>
1819
1818
  <pre class="terminal">$ kwartz -l eperl ex-cont.pdata
1820
- &lt;b&gt;<b>&lt;?= $expr !&gt;</b>&lt;/b&gt;
1821
- &lt;b&gt;<b>&lt;?= encode_entities($expr) !&gt;</b>&lt;/b&gt;
1822
- &lt;b&gt;<b>&lt;?= $expr !&gt;</b>&lt;/b&gt;
1819
+ &lt;b&gt;<strong>&lt;?= $expr !&gt;</strong>&lt;/b&gt;
1820
+ &lt;b&gt;<strong>&lt;?= encode_entities($expr) !&gt;</strong>&lt;/b&gt;
1821
+ &lt;b&gt;<strong>&lt;?= $expr !&gt;</strong>&lt;/b&gt;
1823
1822
  </pre>
1824
1823
  <br>
1825
1824
 
@@ -1835,16 +1834,16 @@ compile</div>
1835
1834
  <h4 class="section3">Ruby</h4>
1836
1835
  <div class="program_caption">
1837
1836
  presentation data (ex-value.pdata)</div>
1838
- <pre class="program">&lt;b <b>title="value: expr"</b>&gt;foo&lt;/b&gt;
1839
- &lt;b <b>title="Value: expr"</b>&gt;foo&lt;/b&gt;
1840
- &lt;b <b>title="VALUE: expr"</b>&gt;foo&lt;/b&gt;
1837
+ <pre class="program">&lt;b <strong>kw:d="value: expr"</strong>&gt;foo&lt;/b&gt;
1838
+ &lt;b <strong>kw:d="Value: expr"</strong>&gt;foo&lt;/b&gt;
1839
+ &lt;b <strong>kw:d="VALUE: expr"</strong>&gt;foo&lt;/b&gt;
1841
1840
  </pre>
1842
1841
  <div class="terminal_caption">
1843
1842
  compile</div>
1844
1843
  <pre class="terminal">$ kwartz -l eruby ex-value.pdata
1845
- &lt;b&gt;<b>&lt;%= expr %&gt;</b>&lt;/b&gt;
1846
- &lt;b&gt;<b>&lt;%=h expr %&gt;</b>&lt;/b&gt;
1847
- &lt;b&gt;<b>&lt;%= expr %&gt;</b>&lt;/b&gt;
1844
+ &lt;b&gt;<strong>&lt;%= expr %&gt;</strong>&lt;/b&gt;
1845
+ &lt;b&gt;<strong>&lt;%=h expr %&gt;</strong>&lt;/b&gt;
1846
+ &lt;b&gt;<strong>&lt;%= expr %&gt;</strong>&lt;/b&gt;
1848
1847
  </pre>
1849
1848
  <br>
1850
1849
 
@@ -1852,16 +1851,16 @@ compile</div>
1852
1851
  <h4 class="section3">PHP</h4>
1853
1852
  <div class="program_caption">
1854
1853
  presentation data (ex-value.pdata)</div>
1855
- <pre class="program">&lt;b <b>title="value($expr)"</b>&gt;foo&lt;/b&gt;
1856
- &lt;b <b>title="Value($expr)"</b>&gt;foo&lt;/b&gt;
1857
- &lt;b <b>title="VALUE($expr)"</b>&gt;foo&lt;/b&gt;
1854
+ <pre class="program">&lt;b <strong>kw:d="value($expr)"</strong>&gt;foo&lt;/b&gt;
1855
+ &lt;b <strong>kw:d="Value($expr)"</strong>&gt;foo&lt;/b&gt;
1856
+ &lt;b <strong>kw:d="VALUE($expr)"</strong>&gt;foo&lt;/b&gt;
1858
1857
  </pre>
1859
1858
  <div class="terminal_caption">
1860
1859
  compile</div>
1861
1860
  <pre class="terminal">$ kwartz -l php ex-value.pdata
1862
- &lt;b&gt;<b>&lt;?php echo $expr; ?&gt;</b>&lt;/b&gt;
1863
- &lt;b&gt;<b>&lt;?php echo htmlspecialchars($expr); ?&gt;</b>&lt;/b&gt;
1864
- &lt;b&gt;<b>&lt;?php echo $expr; ?&gt;</b>&lt;/b&gt;
1861
+ &lt;b&gt;<strong>&lt;?php echo $expr; ?&gt;</strong>&lt;/b&gt;
1862
+ &lt;b&gt;<strong>&lt;?php echo htmlspecialchars($expr); ?&gt;</strong>&lt;/b&gt;
1863
+ &lt;b&gt;<strong>&lt;?php echo $expr; ?&gt;</strong>&lt;/b&gt;
1865
1864
  </pre>
1866
1865
  <br>
1867
1866
 
@@ -1869,16 +1868,16 @@ compile</div>
1869
1868
  <h4 class="section3">JSP</h4>
1870
1869
  <div class="program_caption">
1871
1870
  presentation data (ex-value.pdata)</div>
1872
- <pre class="program">&lt;b <b>title="value(expr)"</b>&gt;foo&lt;/b&gt;
1873
- &lt;b <b>title="Value(expr)"</b>&gt;foo&lt;/b&gt;
1874
- &lt;b <b>title="VALUE(expr)"</b>&gt;foo&lt;/b&gt;
1871
+ <pre class="program">&lt;b <strong>kw:d="value(expr)"</strong>&gt;foo&lt;/b&gt;
1872
+ &lt;b <strong>kw:d="Value(expr)"</strong>&gt;foo&lt;/b&gt;
1873
+ &lt;b <strong>kw:d="VALUE(expr)"</strong>&gt;foo&lt;/b&gt;
1875
1874
  </pre>
1876
1875
  <div class="terminal_caption">
1877
1876
  compile</div>
1878
1877
  <pre class="terminal">$ kwartz -l jstl ex-value.pdata
1879
- &lt;b&gt;<b>${expr}</b>&lt;/b&gt;
1880
- &lt;b&gt;<b>${expr}</b>&lt;/b&gt;
1881
- &lt;b&gt;<b>&lt;c:out value="${expr}" escapeXml="false"/&gt;</b>&lt;/b&gt;
1878
+ &lt;b&gt;<strong>${expr}</strong>&lt;/b&gt;
1879
+ &lt;b&gt;<strong>${expr}</strong>&lt;/b&gt;
1880
+ &lt;b&gt;<strong>&lt;c:out value="${expr}" escapeXml="false"/&gt;</strong>&lt;/b&gt;
1882
1881
  </pre>
1883
1882
  <br>
1884
1883
 
@@ -1886,16 +1885,16 @@ compile</div>
1886
1885
  <h4 class="section3">Perl</h4>
1887
1886
  <div class="program_caption">
1888
1887
  presentation data (ex-value.pdata)</div>
1889
- <pre class="program">&lt;b <b>title="value($expr)"</b>&gt;foo&lt;/b&gt;
1890
- &lt;b <b>title="Value($expr)"</b>&gt;foo&lt;/b&gt;
1891
- &lt;b <b>title="VALUE($expr)"</b>&gt;foo&lt;/b&gt;
1888
+ <pre class="program">&lt;b <strong>kw:d="value($expr)"</strong>&gt;foo&lt;/b&gt;
1889
+ &lt;b <strong>kw:d="Value($expr)"</strong>&gt;foo&lt;/b&gt;
1890
+ &lt;b <strong>kw:d="VALUE($expr)"</strong>&gt;foo&lt;/b&gt;
1892
1891
  </pre>
1893
1892
  <div class="terminal_caption">
1894
1893
  compile</div>
1895
1894
  <pre class="terminal">$ kwartz -l eperl ex-value.pdata
1896
- &lt;b&gt;<b>&lt;?= $expr !&gt;</b>&lt;/b&gt;
1897
- &lt;b&gt;<b>&lt;?= encode_entities($expr) !&gt;</b>&lt;/b&gt;
1898
- &lt;b&gt;<b>&lt;?= $expr !&gt;</b>&lt;/b&gt;
1895
+ &lt;b&gt;<strong>&lt;?= $expr !&gt;</strong>&lt;/b&gt;
1896
+ &lt;b&gt;<strong>&lt;?= encode_entities($expr) !&gt;</strong>&lt;/b&gt;
1897
+ &lt;b&gt;<strong>&lt;?= $expr !&gt;</strong>&lt;/b&gt;
1899
1898
  </pre>
1900
1899
  <br>
1901
1900
 
@@ -1910,30 +1909,30 @@ compile</div>
1910
1909
  <h4 class="section3">Ruby</h4>
1911
1910
  <div class="program_caption">
1912
1911
  presentation data (ex-foreach.pdata)</div>
1913
- <pre class="program">&lt;tr <b>title="for item in list"</b>&gt;
1914
- &lt;td title="cont item"&gt;foo&lt;/td&gt;
1912
+ <pre class="program">&lt;tr <strong>kw:d="for item in list"</strong>&gt;
1913
+ &lt;td kw:d="cont item"&gt;foo&lt;/td&gt;
1915
1914
  &lt;/tr&gt;
1916
1915
 
1917
- &lt;tr <b>title="for key,value in hash"</b>&gt;
1918
- &lt;td title="cont key"&gt;key&lt;/td&gt;
1919
- &lt;td title="cont value"&gt;value&lt;/td&gt;
1916
+ &lt;tr <strong>kw:d="for key,value in hash"</strong>&gt;
1917
+ &lt;td kw:d="cont key"&gt;key&lt;/td&gt;
1918
+ &lt;td kw:d="cont value"&gt;value&lt;/td&gt;
1920
1919
  &lt;/tr&gt;
1921
1920
  </pre>
1922
1921
  <div class="terminal_caption">
1923
1922
  compile</div>
1924
1923
  <pre class="terminal">$ kwartz -l eruby ex-foreach.pdata
1925
- <b>&lt;% for item in list do %&gt;</b>
1924
+ <strong>&lt;% for item in list do %&gt;</strong>
1926
1925
  &lt;tr&gt;
1927
1926
  &lt;td&gt;&lt;%= item %&gt;&lt;/td&gt;
1928
1927
  &lt;/tr&gt;
1929
- <b>&lt;% end %&gt;</b>
1928
+ <strong>&lt;% end %&gt;</strong>
1930
1929
 
1931
- <b>&lt;% hash.each do |key, value| %&gt;</b>
1930
+ <strong>&lt;% hash.each do |key, value| %&gt;</strong>
1932
1931
  &lt;tr&gt;
1933
1932
  &lt;td&gt;&lt;%= key %&gt;&lt;/td&gt;
1934
1933
  &lt;td&gt;&lt;%= value %&gt;&lt;/td&gt;
1935
1934
  &lt;/tr&gt;
1936
- <b>&lt;% end %&gt;</b>
1935
+ <strong>&lt;% end %&gt;</strong>
1937
1936
  </pre>
1938
1937
  <br>
1939
1938
 
@@ -1941,30 +1940,30 @@ compile</div>
1941
1940
  <h4 class="section3">PHP</h4>
1942
1941
  <div class="program_caption">
1943
1942
  presentation data (ex-foreach.pdata)</div>
1944
- <pre class="program">&lt;tr <b>title="foreach($list as $item)"</b>&gt;
1945
- &lt;td title="cont($item)"&gt;foo&lt;/td&gt;
1943
+ <pre class="program">&lt;tr <strong>kw:d="foreach($list as $item)"</strong>&gt;
1944
+ &lt;td kw:d="cont($item)"&gt;foo&lt;/td&gt;
1946
1945
  &lt;/tr&gt;
1947
1946
 
1948
- &lt;tr <b>title="foreach($hash as $key=&gt;$value)"</b>&gt;
1949
- &lt;td title="cont($key)"&gt;key&lt;/td&gt;
1950
- &lt;td title="cont($value)"&gt;value&lt;/td&gt;
1947
+ &lt;tr <strong>kw:d="foreach($hash as $key=&gt;$value)"</strong>&gt;
1948
+ &lt;td kw:d="cont($key)"&gt;key&lt;/td&gt;
1949
+ &lt;td kw:d="cont($value)"&gt;value&lt;/td&gt;
1951
1950
  &lt;/tr&gt;
1952
1951
  </pre>
1953
1952
  <div class="terminal_caption">
1954
1953
  compile</div>
1955
1954
  <pre class="terminal">$ kwartz -l php ex-foreach.pdata
1956
- <b>&lt;?php foreach ($list as $item) { ?&gt;</b>
1955
+ <strong>&lt;?php foreach ($list as $item) { ?&gt;</strong>
1957
1956
  &lt;tr&gt;
1958
1957
  &lt;td&gt;&lt;?php echo $item; ?&gt;&lt;/td&gt;
1959
1958
  &lt;/tr&gt;
1960
- <b>&lt;?php } ?&gt;</b>
1959
+ <strong>&lt;?php } ?&gt;</strong>
1961
1960
 
1962
- <b>&lt;?php foreach ($hash as $key=&gt;$value) { ?&gt;</b>
1961
+ <strong>&lt;?php foreach ($hash as $key=&gt;$value) { ?&gt;</strong>
1963
1962
  &lt;tr&gt;
1964
1963
  &lt;td&gt;&lt;?php echo $key; ?&gt;&lt;/td&gt;
1965
1964
  &lt;td&gt;&lt;?php echo $value; ?&gt;&lt;/td&gt;
1966
1965
  &lt;/tr&gt;
1967
- <b>&lt;?php } ?&gt;</b>
1966
+ <strong>&lt;?php } ?&gt;</strong>
1968
1967
  </pre>
1969
1968
  <br>
1970
1969
 
@@ -1972,40 +1971,40 @@ compile</div>
1972
1971
  <h4 class="section3">JSP</h4>
1973
1972
  <div class="program_caption">
1974
1973
  presentation data (ex-foreach.pdata)</div>
1975
- <pre class="program">&lt;tr <b>title="for(item: list)"</b>&gt;
1976
- &lt;td title="cont(item)"&gt;foo&lt;/td&gt;
1974
+ <pre class="program">&lt;tr <strong>kw:d="for(item: list)"</strong>&gt;
1975
+ &lt;td kw:d="cont(item)"&gt;foo&lt;/td&gt;
1977
1976
  &lt;/tr&gt;
1978
1977
 
1979
- &lt;tr <b>title="forEach(:var=&gt;'v', :items=&gt;:'params.list', :varStatus=&gt;'status')"</b>&gt;
1980
- &lt;td title="cont(status.index)"&gt;1&lt;/td&gt;
1981
- &lt;td title="cont(v)"&gt;&lt;/td&gt;
1978
+ &lt;tr <strong>kw:d="forEach('var'=&gt;'v', 'items'=&gt;'${params.list}', 'varStatus'=&gt;'status')"</strong>&gt;
1979
+ &lt;td kw:d="cont(status.index)"&gt;1&lt;/td&gt;
1980
+ &lt;td kw:d="cont(v)"&gt;&lt;/td&gt;
1982
1981
  &lt;/tr&gt;
1983
1982
 
1984
- &lt;tr <b>title="forEach(:var=&gt;'n', :begin=&gt;1, :end=&gt;10, :step=&gt;2)"</b>&gt;
1985
- &lt;td title="cont(n)"&gt;key&lt;/td&gt;
1983
+ &lt;tr <strong>kw:d="forEach('var'=&gt;'n', 'begin'=&gt;1, 'end'=&gt;10, 'step'=&gt;2)"</strong>&gt;
1984
+ &lt;td kw:d="cont(n)"&gt;key&lt;/td&gt;
1986
1985
  &lt;/tr&gt;
1987
1986
  </pre>
1988
1987
  <div class="terminal_caption">
1989
1988
  compile</div>
1990
1989
  <pre class="terminal">$ kwartz -l jstl ex-foreach.pdata
1991
- <b>&lt;c:forEach var="item" items="${list}"&gt;</b>
1990
+ <strong>&lt;c:forEach var="item" items="${list}"&gt;</strong>
1992
1991
  &lt;tr&gt;
1993
1992
  &lt;td&gt;${item}&lt;/td&gt;
1994
1993
  &lt;/tr&gt;
1995
- <b>&lt;/c:forEach&gt;</b>
1994
+ <strong>&lt;/c:forEach&gt;</strong>
1996
1995
 
1997
- <b>&lt;c:forEach var="v" items="${params.list}" varStatus="status"&gt;</b>
1996
+ <strong>&lt;c:forEach var="v" items="${params.list}" varStatus="status"&gt;</strong>
1998
1997
  &lt;tr&gt;
1999
1998
  &lt;td&gt;${status.index}&lt;/td&gt;
2000
1999
  &lt;td&gt;${v}&lt;/td&gt;
2001
2000
  &lt;/tr&gt;
2002
- <b>&lt;/c:forEach&gt;</b>
2001
+ <strong>&lt;/c:forEach&gt;</strong>
2003
2002
 
2004
- <b>&lt;c:forEach var="n" begin="1" end="10" step="2"&gt;</b>
2003
+ <strong>&lt;c:forEach var="n" begin="1" end="10" step="2"&gt;</strong>
2005
2004
  &lt;tr&gt;
2006
2005
  &lt;td&gt;${n}&lt;/td&gt;
2007
2006
  &lt;/tr&gt;
2008
- <b>&lt;/c:forEach&gt;</b>
2007
+ <strong>&lt;/c:forEach&gt;</strong>
2009
2008
  </pre>
2010
2009
  <br>
2011
2010
 
@@ -2013,31 +2012,31 @@ compile</div>
2013
2012
  <h4 class="section3">Perl</h4>
2014
2013
  <div class="program_caption">
2015
2014
  presentation data (ex-foreach.pdata)</div>
2016
- <pre class="program">&lt;tr <b>title="foreach($item in @list)"</b>&gt;
2017
- &lt;td title="cont($item)"&gt;foo&lt;/td&gt;
2015
+ <pre class="program">&lt;tr <strong>kw:d="foreach($item in @list)"</strong>&gt;
2016
+ &lt;td kw:d="cont($item)"&gt;foo&lt;/td&gt;
2018
2017
  &lt;/tr&gt;
2019
2018
 
2020
- &lt;tr <b>title="foreach($key,$value in %hash)"</b>&gt;
2021
- &lt;td title="cont($key)"&gt;key&lt;/td&gt;
2022
- &lt;td title="cont($value)"&gt;value&lt;/td&gt;
2019
+ &lt;tr <strong>kw:d="foreach($key,$value in %hash)"</strong>&gt;
2020
+ &lt;td kw:d="cont($key)"&gt;key&lt;/td&gt;
2021
+ &lt;td kw:d="cont($value)"&gt;value&lt;/td&gt;
2023
2022
  &lt;/tr&gt;
2024
2023
  </pre>
2025
2024
  <div class="terminal_caption">
2026
2025
  compile</div>
2027
2026
  <pre class="terminal">$ kwartz -l eperl ex-foreach.pdata
2028
- <b>&lt;? foreach my $item (@list) { !&gt;</b>
2027
+ <strong>&lt;? foreach my $item (@list) { !&gt;</strong>
2029
2028
  &lt;tr&gt;
2030
2029
  &lt;td&gt;&lt;?= $item !&gt;&lt;/td&gt;
2031
2030
  &lt;/tr&gt;
2032
- <b>&lt;? } !&gt;</b>
2031
+ <strong>&lt;? } !&gt;</strong>
2033
2032
 
2034
- <b>&lt;? foreach my $key (keys %hash) { !&gt;</b>
2035
- <b>&lt;? my $value = $hash{$key}; !&gt;</b>
2033
+ <strong>&lt;? foreach my $key (keys %hash) { !&gt;</strong>
2034
+ <strong>&lt;? my $value = $hash{$key}; !&gt;</strong>
2036
2035
  &lt;tr&gt;
2037
2036
  &lt;td&gt;&lt;?= $key !&gt;&lt;/td&gt;
2038
2037
  &lt;td&gt;&lt;?= $value !&gt;&lt;/td&gt;
2039
2038
  &lt;/tr&gt;
2040
- <b>&lt;? } !&gt;</b>
2039
+ <strong>&lt;? } !&gt;</strong>
2041
2040
  </pre>
2042
2041
  <br>
2043
2042
 
@@ -2052,29 +2051,29 @@ compile</div>
2052
2051
  <h4 class="section3">Ruby</h4>
2053
2052
  <div class="program_caption">
2054
2053
  presentation data (ex-list.pdata)</div>
2055
- <pre class="program">&lt;tr <b>title="list item in list"</b>&gt;
2056
- &lt;td title="cont item"&gt;foo&lt;/td&gt;
2054
+ <pre class="program">&lt;tr <strong>kw:d="list item in list"</strong>&gt;
2055
+ &lt;td kw:d="cont item"&gt;foo&lt;/td&gt;
2057
2056
  &lt;/tr&gt;
2058
2057
 
2059
- &lt;tr <b>title="list key,value in hash"</b>&gt;
2060
- &lt;td title="cont key"&gt;key&lt;/td&gt;
2061
- &lt;td title="cont value"&gt;value&lt;/td&gt;
2058
+ &lt;tr <strong>kw:d="list key,value in hash"</strong>&gt;
2059
+ &lt;td kw:d="cont key"&gt;key&lt;/td&gt;
2060
+ &lt;td kw:d="cont value"&gt;value&lt;/td&gt;
2062
2061
  &lt;/tr&gt;
2063
2062
  </pre>
2064
2063
  <div class="terminal_caption">
2065
2064
  compile</div>
2066
2065
  <pre class="terminal">$ kwartz -l eruby ex-list.pdata
2067
2066
  &lt;tr&gt;
2068
- <b>&lt;% for item in list do %&gt;</b>
2067
+ <strong>&lt;% for item in list do %&gt;</strong>
2069
2068
  &lt;td&gt;&lt;%= item %&gt;&lt;/td&gt;
2070
- <b>&lt;% end %&gt;</b>
2069
+ <strong>&lt;% end %&gt;</strong>
2071
2070
  &lt;/tr&gt;
2072
2071
 
2073
2072
  &lt;tr&gt;
2074
- <b>&lt;% hash.each do |key, value| %&gt;</b>
2073
+ <strong>&lt;% hash.each do |key, value| %&gt;</strong>
2075
2074
  &lt;td&gt;&lt;%= key %&gt;&lt;/td&gt;
2076
2075
  &lt;td&gt;&lt;%= value %&gt;&lt;/td&gt;
2077
- <b>&lt;% end %&gt;</b>
2076
+ <strong>&lt;% end %&gt;</strong>
2078
2077
  &lt;/tr&gt;
2079
2078
  </pre>
2080
2079
  <br>
@@ -2083,29 +2082,29 @@ compile</div>
2083
2082
  <h4 class="section3">PHP</h4>
2084
2083
  <div class="program_caption">
2085
2084
  presentation data (ex-list.pdata)</div>
2086
- <pre class="program">&lt;tr <b>title="list($list as $item)"</b>&gt;
2087
- &lt;td title="cont($item)"&gt;foo&lt;/td&gt;
2085
+ <pre class="program">&lt;tr <strong>kw:d="list($list as $item)"</strong>&gt;
2086
+ &lt;td kw:d="cont($item)"&gt;foo&lt;/td&gt;
2088
2087
  &lt;/tr&gt;
2089
2088
 
2090
- &lt;tr <b>title="list($hash as $key=&gt;$value)"</b>&gt;
2091
- &lt;td title="cont($key)"&gt;key&lt;/td&gt;
2092
- &lt;td title="cont($value)"&gt;value&lt;/td&gt;
2089
+ &lt;tr <strong>kw:d="list($hash as $key=&gt;$value)"</strong>&gt;
2090
+ &lt;td kw:d="cont($key)"&gt;key&lt;/td&gt;
2091
+ &lt;td kw:d="cont($value)"&gt;value&lt;/td&gt;
2093
2092
  &lt;/tr&gt;
2094
2093
  </pre>
2095
2094
  <div class="terminal_caption">
2096
2095
  compile</div>
2097
2096
  <pre class="terminal">$ kwartz -l php ex-list.pdata
2098
2097
  &lt;tr&gt;
2099
- <b>&lt;?php foreach ($list as $item) { ?&gt;</b>
2098
+ <strong>&lt;?php foreach ($list as $item) { ?&gt;</strong>
2100
2099
  &lt;td&gt;&lt;?php echo $item; ?&gt;&lt;/td&gt;
2101
- <b>&lt;?php } ?&gt;</b>
2100
+ <strong>&lt;?php } ?&gt;</strong>
2102
2101
  &lt;/tr&gt;
2103
2102
 
2104
2103
  &lt;tr&gt;
2105
- <b>&lt;?php foreach ($hash as $key=&gt;$value) { ?&gt;</b>
2104
+ <strong>&lt;?php foreach ($hash as $key=&gt;$value) { ?&gt;</strong>
2106
2105
  &lt;td&gt;&lt;?php echo $key; ?&gt;&lt;/td&gt;
2107
2106
  &lt;td&gt;&lt;?php echo $value; ?&gt;&lt;/td&gt;
2108
- <b>&lt;?php } ?&gt;</b>
2107
+ <strong>&lt;?php } ?&gt;</strong>
2109
2108
  &lt;/tr&gt;
2110
2109
  </pre>
2111
2110
  <br>
@@ -2114,17 +2113,17 @@ compile</div>
2114
2113
  <h4 class="section3">JSP</h4>
2115
2114
  <div class="program_caption">
2116
2115
  presentation data (ex-list.pdata)</div>
2117
- <pre class="program">&lt;tr <b>title="list(item: list)"</b>&gt;
2118
- &lt;td title="cont(item)"&gt;foo&lt;/td&gt;
2116
+ <pre class="program">&lt;tr <strong>kw:d="list(item: list)"</strong>&gt;
2117
+ &lt;td kw:d="cont(item)"&gt;foo&lt;/td&gt;
2119
2118
  &lt;/tr&gt;
2120
2119
  </pre>
2121
2120
  <div class="terminal_caption">
2122
2121
  compile</div>
2123
2122
  <pre class="terminal">$ kwartz -l jstl ex-list.pdata
2124
2123
  &lt;tr&gt;
2125
- <b>&lt;c:forEach var="item" items="${list}"&gt;</b>
2124
+ <strong>&lt;c:forEach var="item" items="${list}"&gt;</strong>
2126
2125
  &lt;td&gt;${item}&lt;/td&gt;
2127
- <b>&lt;/c:forEach&gt;</b>
2126
+ <strong>&lt;/c:forEach&gt;</strong>
2128
2127
  &lt;/tr&gt;
2129
2128
  </pre>
2130
2129
  <br>
@@ -2133,30 +2132,30 @@ compile</div>
2133
2132
  <h4 class="section3">Perl</h4>
2134
2133
  <div class="program_caption">
2135
2134
  presentation data (ex-list.pdata)</div>
2136
- <pre class="program">&lt;tr <b>title="list($item in @list)"</b>&gt;
2137
- &lt;td title="cont($item)"&gt;foo&lt;/td&gt;
2135
+ <pre class="program">&lt;tr <strong>kw:d="list($item in @list)"</strong>&gt;
2136
+ &lt;td kw:d="cont($item)"&gt;foo&lt;/td&gt;
2138
2137
  &lt;/tr&gt;
2139
2138
 
2140
- &lt;tr <b>title="list($key,$value in %hash)"</b>&gt;
2141
- &lt;td title="cont($key)"&gt;key&lt;/td&gt;
2142
- &lt;td title="cont($value)"&gt;value&lt;/td&gt;
2139
+ &lt;tr <strong>kw:d="list($key,$value in %hash)"</strong>&gt;
2140
+ &lt;td kw:d="cont($key)"&gt;key&lt;/td&gt;
2141
+ &lt;td kw:d="cont($value)"&gt;value&lt;/td&gt;
2143
2142
  &lt;/tr&gt;
2144
2143
  </pre>
2145
2144
  <div class="terminal_caption">
2146
2145
  compile</div>
2147
2146
  <pre class="terminal">$ kwartz -l eperl ex-list.pdata
2148
2147
  &lt;tr&gt;
2149
- <b>&lt;? foreach my $item (@list) { !&gt;</b>
2148
+ <strong>&lt;? foreach my $item (@list) { !&gt;</strong>
2150
2149
  &lt;td&gt;&lt;?= $item !&gt;&lt;/td&gt;
2151
- <b>&lt;? } !&gt;</b>
2150
+ <strong>&lt;? } !&gt;</strong>
2152
2151
  &lt;/tr&gt;
2153
2152
 
2154
2153
  &lt;tr&gt;
2155
- <b>&lt;? foreach my $key (keys %hash) { !&gt;</b>
2156
- <b>&lt;? my $value = $hash{$key}; !&gt;</b>
2154
+ <strong>&lt;? foreach my $key (keys %hash) { !&gt;</strong>
2155
+ <strong>&lt;? my $value = $hash{$key}; !&gt;</strong>
2157
2156
  &lt;td&gt;&lt;?= $key !&gt;&lt;/td&gt;
2158
2157
  &lt;td&gt;&lt;?= $value !&gt;&lt;/td&gt;
2159
- <b>&lt;? } !&gt;</b>
2158
+ <strong>&lt;? } !&gt;</strong>
2160
2159
  &lt;/tr&gt;
2161
2160
  </pre>
2162
2161
  <br>
@@ -2173,31 +2172,31 @@ compile</div>
2173
2172
  <h4 class="section3">Ruby</h4>
2174
2173
  <div class="program_caption">
2175
2174
  presentation data (ex-foreach_ctr.pdata)</div>
2176
- <pre class="program">&lt;tr <b>title="For item in list"</b>&gt;
2177
- &lt;td title="cont item"&gt;foo&lt;/td&gt;
2175
+ <pre class="program">&lt;tr <strong>kw:d="For item in list"</strong>&gt;
2176
+ &lt;td kw:d="cont item"&gt;foo&lt;/td&gt;
2178
2177
  &lt;/tr&gt;
2179
2178
 
2180
- &lt;tr <b>title="List item in list"</b>&gt;
2181
- &lt;td title="cont item"&gt;foo&lt;/td&gt;
2179
+ &lt;tr <strong>kw:d="List item in list"</strong>&gt;
2180
+ &lt;td kw:d="cont item"&gt;foo&lt;/td&gt;
2182
2181
  &lt;/tr&gt;
2183
2182
  </pre>
2184
2183
  <div class="terminal_caption">
2185
2184
  compile</div>
2186
2185
  <pre class="terminal">$ kwartz -l eruby ex-foreach_ctr.pdata
2187
- <b>&lt;% item_ctr = 0 %&gt;</b>
2188
- <b>&lt;% for item in list do %&gt;</b>
2189
- <b>&lt;% item_ctr += 1 %&gt;</b>
2186
+ <strong>&lt;% item_ctr = 0 %&gt;</strong>
2187
+ <strong>&lt;% for item in list do %&gt;</strong>
2188
+ <strong>&lt;% item_ctr += 1 %&gt;</strong>
2190
2189
  &lt;tr&gt;
2191
2190
  &lt;td&gt;&lt;%= item %&gt;&lt;/td&gt;
2192
2191
  &lt;/tr&gt;
2193
- <b>&lt;% end %&gt;</b>
2192
+ <strong>&lt;% end %&gt;</strong>
2194
2193
 
2195
2194
  &lt;tr&gt;
2196
- <b>&lt;% item_ctr = 0 %&gt;</b>
2197
- <b>&lt;% for item in list do %&gt;</b>
2198
- <b>&lt;% item_ctr += 1 %&gt;</b>
2195
+ <strong>&lt;% item_ctr = 0 %&gt;</strong>
2196
+ <strong>&lt;% for item in list do %&gt;</strong>
2197
+ <strong>&lt;% item_ctr += 1 %&gt;</strong>
2199
2198
  &lt;td&gt;&lt;%= item %&gt;&lt;/td&gt;
2200
- <b>&lt;% end %&gt;</b>
2199
+ <strong>&lt;% end %&gt;</strong>
2201
2200
  &lt;/tr&gt;
2202
2201
  </pre>
2203
2202
  <br>
@@ -2206,31 +2205,31 @@ compile</div>
2206
2205
  <h4 class="section3">PHP</h4>
2207
2206
  <div class="program_caption">
2208
2207
  presentation data (ex-foreach_ctr.pdata)</div>
2209
- <pre class="program">&lt;tr <b>title="Foreach($list as $item)"</b>&gt;
2210
- &lt;td title="cont($item)"&gt;foo&lt;/td&gt;
2208
+ <pre class="program">&lt;tr <strong>kw:d="Foreach($list as $item)"</strong>&gt;
2209
+ &lt;td kw:d="cont($item)"&gt;foo&lt;/td&gt;
2211
2210
  &lt;/tr&gt;
2212
2211
 
2213
- &lt;tr <b>title="List($list as $item)"</b>&gt;
2214
- &lt;td title="cont($item)"&gt;foo&lt;/td&gt;
2212
+ &lt;tr <strong>kw:d="List($list as $item)"</strong>&gt;
2213
+ &lt;td kw:d="cont($item)"&gt;foo&lt;/td&gt;
2215
2214
  &lt;/tr&gt;
2216
2215
  </pre>
2217
2216
  <div class="terminal_caption">
2218
2217
  compile</div>
2219
2218
  <pre class="terminal">$ kwartz -l php ex-foreach_ctr.pdata
2220
- <b>&lt;?php $item_ctr = 0; ?&gt;</b>
2221
- <b>&lt;?php foreach ($list as $item) { ?&gt;</b>
2222
- <b>&lt;?php $item_ctr++; ?&gt;</b>
2219
+ <strong>&lt;?php $item_ctr = 0; ?&gt;</strong>
2220
+ <strong>&lt;?php foreach ($list as $item) { ?&gt;</strong>
2221
+ <strong>&lt;?php $item_ctr++; ?&gt;</strong>
2223
2222
  &lt;tr&gt;
2224
2223
  &lt;td&gt;&lt;?php echo $item; ?&gt;&lt;/td&gt;
2225
2224
  &lt;/tr&gt;
2226
- <b>&lt;?php } ?&gt;</b>
2225
+ <strong>&lt;?php } ?&gt;</strong>
2227
2226
 
2228
2227
  &lt;tr&gt;
2229
- <b>&lt;?php $item_ctr = 0; ?&gt;</b>
2230
- <b>&lt;?php foreach ($list as $item) { ?&gt;</b>
2231
- <b>&lt;?php $item_ctr++; ?&gt;</b>
2228
+ <strong>&lt;?php $item_ctr = 0; ?&gt;</strong>
2229
+ <strong>&lt;?php foreach ($list as $item) { ?&gt;</strong>
2230
+ <strong>&lt;?php $item_ctr++; ?&gt;</strong>
2232
2231
  &lt;td&gt;&lt;?php echo $item; ?&gt;&lt;/td&gt;
2233
- <b>&lt;?php } ?&gt;</b>
2232
+ <strong>&lt;?php } ?&gt;</strong>
2234
2233
  &lt;/tr&gt;
2235
2234
  </pre>
2236
2235
  <br>
@@ -2239,29 +2238,29 @@ compile</div>
2239
2238
  <h4 class="section3">JSP</h4>
2240
2239
  <div class="program_caption">
2241
2240
  presentation data (ex-foreach_ctr.pdata)</div>
2242
- <pre class="program">&lt;tr <b>title="For(item: list)"</b>&gt;
2243
- &lt;td title="cont(item)"&gt;foo&lt;/td&gt;
2241
+ <pre class="program">&lt;tr <strong>kw:d="For(item: list)"</strong>&gt;
2242
+ &lt;td kw:d="cont(item)"&gt;foo&lt;/td&gt;
2244
2243
  &lt;/tr&gt;
2245
2244
 
2246
- &lt;tr <b>title="List(item: list)"</b>&gt;
2247
- &lt;td title="cont(item)"&gt;foo&lt;/td&gt;
2245
+ &lt;tr <strong>kw:d="List(item: list)"</strong>&gt;
2246
+ &lt;td kw:d="cont(item)"&gt;foo&lt;/td&gt;
2248
2247
  &lt;/tr&gt;
2249
2248
  </pre>
2250
2249
  <div class="terminal_caption">
2251
2250
  compile</div>
2252
2251
  <pre class="terminal">$ kwartz -l jstl ex-foreach_ctr.pdata
2253
- <b>&lt;c:forEach var="item" items="${list}" varStatus="item_status"&gt;</b>
2254
- <b>&lt;c:set var="item_ctr" value="${item_status.count}" /&gt;</b>
2252
+ <strong>&lt;c:forEach var="item" items="${list}" varStatus="item_status"&gt;</strong>
2253
+ <strong>&lt;c:set var="item_ctr" value="${item_status.count}"/&gt;</strong>
2255
2254
  &lt;tr&gt;
2256
2255
  &lt;td&gt;${item}&lt;/td&gt;
2257
2256
  &lt;/tr&gt;
2258
- <b>&lt;/c:forEach&gt;</b>
2257
+ <strong>&lt;/c:forEach&gt;</strong>
2259
2258
 
2260
2259
  &lt;tr&gt;
2261
- <b>&lt;c:forEach var="item" items="${list}" varStatus="item_status"&gt;</b>
2262
- <b>&lt;c:set var="item_ctr" value="${item_status.count}" /&gt;</b>
2260
+ <strong>&lt;c:forEach var="item" items="${list}" varStatus="item_status"&gt;</strong>
2261
+ <strong>&lt;c:set var="item_ctr" value="${item_status.count}"/&gt;</strong>
2263
2262
  &lt;td&gt;${item}&lt;/td&gt;
2264
- <b>&lt;/c:forEach&gt;</b>
2263
+ <strong>&lt;/c:forEach&gt;</strong>
2265
2264
  &lt;/tr&gt;
2266
2265
  </pre>
2267
2266
  <br>
@@ -2270,31 +2269,31 @@ compile</div>
2270
2269
  <h4 class="section3">Perl</h4>
2271
2270
  <div class="program_caption">
2272
2271
  presentation data (ex-foreach_ctr.pdata)</div>
2273
- <pre class="program">&lt;tr <b>title="Foreach($item in @list)"</b>&gt;
2274
- &lt;td title="cont($item)"&gt;foo&lt;/td&gt;
2272
+ <pre class="program">&lt;tr <strong>kw:d="Foreach($item in @list)"</strong>&gt;
2273
+ &lt;td kw:d="cont($item)"&gt;foo&lt;/td&gt;
2275
2274
  &lt;/tr&gt;
2276
2275
 
2277
- &lt;tr <b>title="List($item in @list)"</b>&gt;
2278
- &lt;td title="cont($item)"&gt;foo&lt;/td&gt;
2276
+ &lt;tr <strong>kw:d="List($item in @list)"</strong>&gt;
2277
+ &lt;td kw:d="cont($item)"&gt;foo&lt;/td&gt;
2279
2278
  &lt;/tr&gt;
2280
2279
  </pre>
2281
2280
  <div class="terminal_caption">
2282
2281
  compile</div>
2283
2282
  <pre class="terminal">$ kwartz -l eperl ex-foreach_ctr.pdata
2284
- <b>&lt;? my $item_ctr = 0; !&gt;</b>
2285
- <b>&lt;? foreach my $item (@list) { !&gt;</b>
2286
- <b>&lt;? $item_ctr++; !&gt;</b>
2283
+ <strong>&lt;? my $item_ctr = 0; !&gt;</strong>
2284
+ <strong>&lt;? foreach my $item (@list) { !&gt;</strong>
2285
+ <strong>&lt;? $item_ctr++; !&gt;</strong>
2287
2286
  &lt;tr&gt;
2288
2287
  &lt;td&gt;&lt;?= $item !&gt;&lt;/td&gt;
2289
2288
  &lt;/tr&gt;
2290
- <b>&lt;? } !&gt;</b>
2289
+ <strong>&lt;? } !&gt;</strong>
2291
2290
 
2292
2291
  &lt;tr&gt;
2293
- <b>&lt;? my $item_ctr = 0; !&gt;</b>
2294
- <b>&lt;? foreach my $item (@list) { !&gt;</b>
2295
- <b>&lt;? $item_ctr++; !&gt;</b>
2292
+ <strong>&lt;? my $item_ctr = 0; !&gt;</strong>
2293
+ <strong>&lt;? foreach my $item (@list) { !&gt;</strong>
2294
+ <strong>&lt;? $item_ctr++; !&gt;</strong>
2296
2295
  &lt;td&gt;&lt;?= $item !&gt;&lt;/td&gt;
2297
- <b>&lt;? } !&gt;</b>
2296
+ <strong>&lt;? } !&gt;</strong>
2298
2297
  &lt;/tr&gt;
2299
2298
  </pre>
2300
2299
  <br>
@@ -2314,33 +2313,33 @@ or by properties(PROPERTY_ODD, PROPERTY_EVEN) in configuration file.
2314
2313
  <h4 class="section3">Ruby</h4>
2315
2314
  <div class="program_caption">
2316
2315
  presentation data (ex-foreach_tgl.pdata)</div>
2317
- <pre class="program">&lt;tr <b>title="FOR item in list"</b>&gt;
2318
- &lt;td title="cont item"&gt;foo&lt;/td&gt;
2316
+ <pre class="program">&lt;tr <strong>kw:d="FOR item in list"</strong>&gt;
2317
+ &lt;td kw:d="cont item"&gt;foo&lt;/td&gt;
2319
2318
  &lt;/tr&gt;
2320
2319
 
2321
- &lt;tr <b>title="LIST item in list"</b>&gt;
2322
- &lt;td title="cont item"&gt;foo&lt;/td&gt;
2320
+ &lt;tr <strong>kw:d="LIST item in list"</strong>&gt;
2321
+ &lt;td kw:d="cont item"&gt;foo&lt;/td&gt;
2323
2322
  &lt;/tr&gt;
2324
2323
  </pre>
2325
2324
  <div class="terminal_caption">
2326
2325
  compile</div>
2327
2326
  <pre class="terminal">$ kwartz -l eruby ex-foreach_tgl.pdata
2328
- <b>&lt;% item_ctr = 0 %&gt;</b>
2329
- <b>&lt;% for item in list do %&gt;</b>
2330
- <b>&lt;% item_ctr += 1 %&gt;</b>
2331
- <b>&lt;% item_tgl = item_ctr%2==0 ? 'even' : 'odd' %&gt;</b>
2327
+ <strong>&lt;% item_ctr = 0 %&gt;</strong>
2328
+ <strong>&lt;% for item in list do %&gt;</strong>
2329
+ <strong>&lt;% item_ctr += 1 %&gt;</strong>
2330
+ <strong>&lt;% item_tgl = item_ctr%2==0 ? 'even' : 'odd' %&gt;</strong>
2332
2331
  &lt;tr&gt;
2333
2332
  &lt;td&gt;&lt;%= item %&gt;&lt;/td&gt;
2334
2333
  &lt;/tr&gt;
2335
- <b>&lt;% end %&gt;</b>
2334
+ <strong>&lt;% end %&gt;</strong>
2336
2335
 
2337
2336
  &lt;tr&gt;
2338
- <b>&lt;% item_ctr = 0 %&gt;</b>
2339
- <b>&lt;% for item in list do %&gt;</b>
2340
- <b>&lt;% item_ctr += 1 %&gt;</b>
2341
- <b>&lt;% item_tgl = item_ctr%2==0 ? 'even' : 'odd' %&gt;</b>
2337
+ <strong>&lt;% item_ctr = 0 %&gt;</strong>
2338
+ <strong>&lt;% for item in list do %&gt;</strong>
2339
+ <strong>&lt;% item_ctr += 1 %&gt;</strong>
2340
+ <strong>&lt;% item_tgl = item_ctr%2==0 ? 'even' : 'odd' %&gt;</strong>
2342
2341
  &lt;td&gt;&lt;%= item %&gt;&lt;/td&gt;
2343
- <b>&lt;% end %&gt;</b>
2342
+ <strong>&lt;% end %&gt;</strong>
2344
2343
  &lt;/tr&gt;
2345
2344
  </pre>
2346
2345
  <br>
@@ -2349,33 +2348,33 @@ compile</div>
2349
2348
  <h4 class="section3">PHP</h4>
2350
2349
  <div class="program_caption">
2351
2350
  presentation data (ex-foreach_tgl.pdata)</div>
2352
- <pre class="program">&lt;tr <b>title="FOREACH($list as $item)"</b>&gt;
2353
- &lt;td title="cont($item)"&gt;foo&lt;/td&gt;
2351
+ <pre class="program">&lt;tr <strong>kw:d="FOREACH($list as $item)"</strong>&gt;
2352
+ &lt;td kw:d="cont($item)"&gt;foo&lt;/td&gt;
2354
2353
  &lt;/tr&gt;
2355
2354
 
2356
- &lt;tr <b>title="LIST($list as $item)"</b>&gt;
2357
- &lt;td title="cont($item)"&gt;foo&lt;/td&gt;
2355
+ &lt;tr <strong>kw:d="LIST($list as $item)"</strong>&gt;
2356
+ &lt;td kw:d="cont($item)"&gt;foo&lt;/td&gt;
2358
2357
  &lt;/tr&gt;
2359
2358
  </pre>
2360
2359
  <div class="terminal_caption">
2361
2360
  compile</div>
2362
2361
  <pre class="terminal">$ kwartz -l php ex-foreach_tgl.pdata
2363
- <b>&lt;?php $item_ctr = 0; ?&gt;</b>
2364
- <b>&lt;?php foreach ($list as $item) { ?&gt;</b>
2365
- <b>&lt;?php $item_ctr++; ?&gt;</b>
2366
- <b>&lt;?php $item_tgl = $item_ctr%2==0 ? 'even' : 'odd'; ?&gt;</b>
2362
+ <strong>&lt;?php $item_ctr = 0; ?&gt;</strong>
2363
+ <strong>&lt;?php foreach ($list as $item) { ?&gt;</strong>
2364
+ <strong>&lt;?php $item_ctr++; ?&gt;</strong>
2365
+ <strong>&lt;?php $item_tgl = $item_ctr%2==0 ? 'even' : 'odd'; ?&gt;</strong>
2367
2366
  &lt;tr&gt;
2368
2367
  &lt;td&gt;&lt;?php echo $item; ?&gt;&lt;/td&gt;
2369
2368
  &lt;/tr&gt;
2370
- <b>&lt;?php } ?&gt;</b>
2369
+ <strong>&lt;?php } ?&gt;</strong>
2371
2370
 
2372
2371
  &lt;tr&gt;
2373
- <b>&lt;?php $item_ctr = 0; ?&gt;</b>
2374
- <b>&lt;?php foreach ($list as $item) { ?&gt;</b>
2375
- <b>&lt;?php $item_ctr++; ?&gt;</b>
2376
- <b>&lt;?php $item_tgl = $item_ctr%2==0 ? 'even' : 'odd'; ?&gt;</b>
2372
+ <strong>&lt;?php $item_ctr = 0; ?&gt;</strong>
2373
+ <strong>&lt;?php foreach ($list as $item) { ?&gt;</strong>
2374
+ <strong>&lt;?php $item_ctr++; ?&gt;</strong>
2375
+ <strong>&lt;?php $item_tgl = $item_ctr%2==0 ? 'even' : 'odd'; ?&gt;</strong>
2377
2376
  &lt;td&gt;&lt;?php echo $item; ?&gt;&lt;/td&gt;
2378
- <b>&lt;?php } ?&gt;</b>
2377
+ <strong>&lt;?php } ?&gt;</strong>
2379
2378
  &lt;/tr&gt;
2380
2379
  </pre>
2381
2380
  <br>
@@ -2384,31 +2383,31 @@ compile</div>
2384
2383
  <h4 class="section3">JSP</h4>
2385
2384
  <div class="program_caption">
2386
2385
  presentation data (ex-foreach_tgl.pdata)</div>
2387
- <pre class="program">&lt;tr <b>title="FOR(item: list)"</b>&gt;
2388
- &lt;td title="cont(item)"&gt;foo&lt;/td&gt;
2386
+ <pre class="program">&lt;tr <strong>kw:d="FOR(item: list)"</strong>&gt;
2387
+ &lt;td kw:d="cont(item)"&gt;foo&lt;/td&gt;
2389
2388
  &lt;/tr&gt;
2390
2389
 
2391
- &lt;tr <b>title="LIST(item: list)"</b>&gt;
2392
- &lt;td title="cont(item)"&gt;foo&lt;/td&gt;
2390
+ &lt;tr <strong>kw:d="LIST(item: list)"</strong>&gt;
2391
+ &lt;td kw:d="cont(item)"&gt;foo&lt;/td&gt;
2393
2392
  &lt;/tr&gt;
2394
2393
  </pre>
2395
2394
  <div class="terminal_caption">
2396
2395
  compile</div>
2397
2396
  <pre class="terminal">$ kwartz -l jstl ex-foreach_tgl.pdata
2398
- <b>&lt;c:forEach var="item" items="${list}" varStatus="item_status"&gt;</b>
2399
- <b>&lt;c:set var="item_ctr" value="${item_status.count}" /&gt;</b>
2400
- <b>&lt;c:set var="item_tgl" value="${item_status.count%2==0 ? 'even' : 'odd'}" /&gt;</b>
2397
+ <strong>&lt;c:forEach var="item" items="${list}" varStatus="item_status"&gt;</strong>
2398
+ <strong>&lt;c:set var="item_ctr" value="${item_status.count}"/&gt;</strong>
2399
+ <strong>&lt;c:set var="item_tgl" value="${item_status.count%2==0 ? 'even' : 'odd'}"/&gt;</strong>
2401
2400
  &lt;tr&gt;
2402
2401
  &lt;td&gt;${item}&lt;/td&gt;
2403
2402
  &lt;/tr&gt;
2404
- <b>&lt;/c:forEach&gt;</b>
2403
+ <strong>&lt;/c:forEach&gt;</strong>
2405
2404
 
2406
2405
  &lt;tr&gt;
2407
- <b>&lt;c:forEach var="item" items="${list}" varStatus="item_status"&gt;</b>
2408
- <b>&lt;c:set var="item_ctr" value="${item_status.count}" /&gt;</b>
2409
- <b>&lt;c:set var="item_tgl" value="${item_status.count%2==0 ? 'even' : 'odd'}" /&gt;</b>
2406
+ <strong>&lt;c:forEach var="item" items="${list}" varStatus="item_status"&gt;</strong>
2407
+ <strong>&lt;c:set var="item_ctr" value="${item_status.count}"/&gt;</strong>
2408
+ <strong>&lt;c:set var="item_tgl" value="${item_status.count%2==0 ? 'even' : 'odd'}"/&gt;</strong>
2410
2409
  &lt;td&gt;${item}&lt;/td&gt;
2411
- <b>&lt;/c:forEach&gt;</b>
2410
+ <strong>&lt;/c:forEach&gt;</strong>
2412
2411
  &lt;/tr&gt;
2413
2412
  </pre>
2414
2413
  <br>
@@ -2417,33 +2416,33 @@ compile</div>
2417
2416
  <h4 class="section3">Perl</h4>
2418
2417
  <div class="program_caption">
2419
2418
  presentation data (ex-foreach_tgl.pdata)</div>
2420
- <pre class="program">&lt;tr <b>title="FOREACH($item in @list)"</b>&gt;
2421
- &lt;td title="cont($item)"&gt;foo&lt;/td&gt;
2419
+ <pre class="program">&lt;tr <strong>kw:d="FOREACH($item in @list)"</strong>&gt;
2420
+ &lt;td kw:d="cont($item)"&gt;foo&lt;/td&gt;
2422
2421
  &lt;/tr&gt;
2423
2422
 
2424
- &lt;tr <b>title="LIST($item in @list)"</b>&gt;
2425
- &lt;td title="cont($item)"&gt;foo&lt;/td&gt;
2423
+ &lt;tr <strong>kw:d="LIST($item in @list)"</strong>&gt;
2424
+ &lt;td kw:d="cont($item)"&gt;foo&lt;/td&gt;
2426
2425
  &lt;/tr&gt;
2427
2426
  </pre>
2428
2427
  <div class="terminal_caption">
2429
2428
  compile</div>
2430
2429
  <pre class="terminal">$ kwartz -l eperl ex-foreach_tgl.pdata
2431
- <b>&lt;? my $item_ctr = 0; !&gt;</b>
2432
- <b>&lt;? foreach my $item (@list) { !&gt;</b>
2433
- <b>&lt;? $item_ctr++; !&gt;</b>
2434
- <b>&lt;? my $item_tgl = $item_ctr%2==0 ? 'even' : 'odd'; !&gt;</b>
2430
+ <strong>&lt;? my $item_ctr = 0; !&gt;</strong>
2431
+ <strong>&lt;? foreach my $item (@list) { !&gt;</strong>
2432
+ <strong>&lt;? $item_ctr++; !&gt;</strong>
2433
+ <strong>&lt;? my $item_tgl = $item_ctr%2==0 ? 'even' : 'odd'; !&gt;</strong>
2435
2434
  &lt;tr&gt;
2436
2435
  &lt;td&gt;&lt;?= $item !&gt;&lt;/td&gt;
2437
2436
  &lt;/tr&gt;
2438
- <b>&lt;? } !&gt;</b>
2437
+ <strong>&lt;? } !&gt;</strong>
2439
2438
 
2440
2439
  &lt;tr&gt;
2441
- <b>&lt;? my $item_ctr = 0; !&gt;</b>
2442
- <b>&lt;? foreach my $item (@list) { !&gt;</b>
2443
- <b>&lt;? $item_ctr++; !&gt;</b>
2444
- <b>&lt;? my $item_tgl = $item_ctr%2==0 ? 'even' : 'odd'; !&gt;</b>
2440
+ <strong>&lt;? my $item_ctr = 0; !&gt;</strong>
2441
+ <strong>&lt;? foreach my $item (@list) { !&gt;</strong>
2442
+ <strong>&lt;? $item_ctr++; !&gt;</strong>
2443
+ <strong>&lt;? my $item_tgl = $item_ctr%2==0 ? 'even' : 'odd'; !&gt;</strong>
2445
2444
  &lt;td&gt;&lt;?= $item !&gt;&lt;/td&gt;
2446
- <b>&lt;? } !&gt;</b>
2445
+ <strong>&lt;? } !&gt;</strong>
2447
2446
  &lt;/tr&gt;
2448
2447
  </pre>
2449
2448
  <br>
@@ -2463,27 +2462,27 @@ until conditional expression is false.
2463
2462
  <h4 class="section3">Ruby</h4>
2464
2463
  <div class="program_caption">
2465
2464
  presentation data (ex-while.pdata)</div>
2466
- <pre class="program">&lt;tr <b>title="while (item = dbh.fetch) != nil"</b>&gt;
2467
- &lt;td title="cont item.name"&gt;foo&lt;/td&gt;
2465
+ <pre class="program">&lt;tr <strong>kw:d="while (item = dbh.fetch) != nil"</strong>&gt;
2466
+ &lt;td kw:d="cont item.name"&gt;foo&lt;/td&gt;
2468
2467
  &lt;/tr&gt;
2469
2468
 
2470
- &lt;tr <b>title="loop (item = dbh.fetch) != nil"</b>&gt;
2471
- &lt;td title="cont item.name"&gt;foo&lt;/td&gt;
2469
+ &lt;tr <strong>kw:d="loop (item = dbh.fetch) != nil"</strong>&gt;
2470
+ &lt;td kw:d="cont item.name"&gt;foo&lt;/td&gt;
2472
2471
  &lt;/tr&gt;
2473
2472
  </pre>
2474
2473
  <div class="terminal_caption">
2475
2474
  compile</div>
2476
2475
  <pre class="terminal">$ kwartz -l eruby ex-while.pdata
2477
- <b>&lt;% while (item = dbh.fetch) != nil do %&gt;</b>
2476
+ <strong>&lt;% while (item = dbh.fetch) != nil do %&gt;</strong>
2478
2477
  &lt;tr&gt;
2479
2478
  &lt;td&gt;&lt;%= item.name %&gt;&lt;/td&gt;
2480
2479
  &lt;/tr&gt;
2481
- <b>&lt;% end %&gt;</b>
2480
+ <strong>&lt;% end %&gt;</strong>
2482
2481
 
2483
2482
  &lt;tr&gt;
2484
- <b>&lt;% while (item = dbh.fetch) != nil do %&gt;</b>
2483
+ <strong>&lt;% while (item = dbh.fetch) != nil do %&gt;</strong>
2485
2484
  &lt;td&gt;&lt;%= item.name %&gt;&lt;/td&gt;
2486
- <b>&lt;% end %&gt;</b>
2485
+ <strong>&lt;% end %&gt;</strong>
2487
2486
  &lt;/tr&gt;
2488
2487
  </pre>
2489
2488
  <br>
@@ -2492,27 +2491,27 @@ compile</div>
2492
2491
  <h4 class="section3">PHP</h4>
2493
2492
  <div class="program_caption">
2494
2493
  presentation data (ex-while.pdata)</div>
2495
- <pre class="program">&lt;tr <b>title="while(($item = $dbh-&gt;fetch()) != null)"</b>&gt;
2496
- &lt;td title="cont($item-&gt;name)"&gt;foo&lt;/td&gt;
2494
+ <pre class="program">&lt;tr <strong>kw:d="while(($item = $dbh-&gt;fetch()) != null)"</strong>&gt;
2495
+ &lt;td kw:d="cont($item-&gt;name)"&gt;foo&lt;/td&gt;
2497
2496
  &lt;/tr&gt;
2498
2497
 
2499
- &lt;tr <b>title="loop(($item = $dbh-&gt;fetch()) != null)"</b>&gt;
2500
- &lt;td title="cont($item-&gt;name)"&gt;foo&lt;/td&gt;
2498
+ &lt;tr <strong>kw:d="loop(($item = $dbh-&gt;fetch()) != null)"</strong>&gt;
2499
+ &lt;td kw:d="cont($item-&gt;name)"&gt;foo&lt;/td&gt;
2501
2500
  &lt;/tr&gt;
2502
2501
  </pre>
2503
2502
  <div class="terminal_caption">
2504
2503
  compile</div>
2505
2504
  <pre class="terminal">$ kwartz -l php ex-while.pdata
2506
- <b>&lt;?php while (($item = $dbh-&gt;fetch()) != null) { ?&gt;</b>
2505
+ <strong>&lt;?php while (($item = $dbh-&gt;fetch()) != null) { ?&gt;</strong>
2507
2506
  &lt;tr&gt;
2508
2507
  &lt;td&gt;&lt;?php echo $item-&gt;name; ?&gt;&lt;/td&gt;
2509
2508
  &lt;/tr&gt;
2510
- <b>&lt;?php } ?&gt;</b>
2509
+ <strong>&lt;?php } ?&gt;</strong>
2511
2510
 
2512
2511
  &lt;tr&gt;
2513
- <b>&lt;?php while (($item = $dbh-&gt;fetch()) != null) { ?&gt;</b>
2512
+ <strong>&lt;?php while (($item = $dbh-&gt;fetch()) != null) { ?&gt;</strong>
2514
2513
  &lt;td&gt;&lt;?php echo $item-&gt;name; ?&gt;&lt;/td&gt;
2515
- <b>&lt;?php } ?&gt;</b>
2514
+ <strong>&lt;?php } ?&gt;</strong>
2516
2515
  &lt;/tr&gt;
2517
2516
  </pre>
2518
2517
  <br>
@@ -2534,27 +2533,27 @@ compile</div>
2534
2533
  <h4 class="section3">Perl</h4>
2535
2534
  <div class="program_caption">
2536
2535
  presentation data (ex-while.pdata)</div>
2537
- <pre class="program">&lt;tr <b>title="while(($item = $dbh-&gt;fetch()) != null)"</b>&gt;
2538
- &lt;td title="cont($item-&gt;name)"&gt;foo&lt;/td&gt;
2536
+ <pre class="program">&lt;tr <strong>kw:d="while(($item = $dbh-&gt;fetch()) != null)"</strong>&gt;
2537
+ &lt;td kw:d="cont($item-&gt;name)"&gt;foo&lt;/td&gt;
2539
2538
  &lt;/tr&gt;
2540
2539
 
2541
- &lt;tr <b>title="loop(($item = $dbh-&gt;fetch()) != null)"</b>&gt;
2542
- &lt;td title="cont($item-&gt;name)"&gt;foo&lt;/td&gt;
2540
+ &lt;tr <strong>kw:d="loop(($item = $dbh-&gt;fetch()) != null)"</strong>&gt;
2541
+ &lt;td kw:d="cont($item-&gt;name)"&gt;foo&lt;/td&gt;
2543
2542
  &lt;/tr&gt;
2544
2543
  </pre>
2545
2544
  <div class="terminal_caption">
2546
2545
  compile</div>
2547
2546
  <pre class="terminal">$ kwartz -l eperl ex-while.pdata
2548
- <b>&lt;? while (($item = $dbh-&gt;fetch()) != null) { !&gt;</b>
2547
+ <strong>&lt;? while (($item = $dbh-&gt;fetch()) != null) { !&gt;</strong>
2549
2548
  &lt;tr&gt;
2550
2549
  &lt;td&gt;&lt;?= $item-&gt;name !&gt;&lt;/td&gt;
2551
2550
  &lt;/tr&gt;
2552
- <b>&lt;? } !&gt;</b>
2551
+ <strong>&lt;? } !&gt;</strong>
2553
2552
 
2554
2553
  &lt;tr&gt;
2555
- <b>&lt;? while (($item = $dbh-&gt;fetch()) != null) { !&gt;</b>
2554
+ <strong>&lt;? while (($item = $dbh-&gt;fetch()) != null) { !&gt;</strong>
2556
2555
  &lt;td&gt;&lt;?= $item-&gt;name !&gt;&lt;/td&gt;
2557
- <b>&lt;? } !&gt;</b>
2556
+ <strong>&lt;? } !&gt;</strong>
2558
2557
  &lt;/tr&gt;
2559
2558
  </pre>
2560
2559
  <br>
@@ -2573,32 +2572,32 @@ start-tag of 'elseif'/'else' directive.
2573
2572
  <h4 class="section3">Ruby</h4>
2574
2573
  <div class="program_caption">
2575
2574
  presentation data (ex-if.pdata)</div>
2576
- <pre class="program">&lt;div <b>title="if status=='error'"</b>&gt;
2577
- &lt;p class="error" title="cont mesg"&gt;error&lt;/p&gt;
2575
+ <pre class="program">&lt;div <strong>kw:d="if status=='error'"</strong>&gt;
2576
+ &lt;p class="error" kw:d="cont mesg"&gt;error&lt;/p&gt;
2578
2577
  &lt;/div&gt;
2579
- &lt;div <b>title="elsif status=='warning'"</b>&gt;
2580
- &lt;p class="warning" title="cont mesg"&gt;waring&lt;/p&gt;
2578
+ &lt;div <strong>kw:d="elsif status=='warning'"</strong>&gt;
2579
+ &lt;p class="warning" kw:d="cont mesg"&gt;waring&lt;/p&gt;
2581
2580
  &lt;/div&gt;
2582
- &lt;div <b>title="else"</b>&gt;
2583
- &lt;p title="cont mesg"&gt;mesg&lt;/p&gt;
2581
+ &lt;div <strong>kw:d="else"</strong>&gt;
2582
+ &lt;p kw:d="cont mesg"&gt;mesg&lt;/p&gt;
2584
2583
  &lt;/div&gt;
2585
2584
  </pre>
2586
2585
  <div class="terminal_caption">
2587
2586
  compile</div>
2588
2587
  <pre class="terminal">$ kwartz -l eruby ex-if.pdata
2589
- <b>&lt;% if status=='error' then %&gt;</b>
2588
+ <strong>&lt;% if status=='error' then %&gt;</strong>
2590
2589
  &lt;div&gt;
2591
2590
  &lt;p class="error"&gt;&lt;%= mesg %&gt;&lt;/p&gt;
2592
2591
  &lt;/div&gt;
2593
- <b>&lt;% elsif status=='warning' then %&gt;</b>
2592
+ <strong>&lt;% elsif status=='warning' then %&gt;</strong>
2594
2593
  &lt;div&gt;
2595
2594
  &lt;p class="warning"&gt;&lt;%= mesg %&gt;&lt;/p&gt;
2596
2595
  &lt;/div&gt;
2597
- <b>&lt;% else %&gt;</b>
2596
+ <strong>&lt;% else %&gt;</strong>
2598
2597
  &lt;div&gt;
2599
2598
  &lt;p&gt;&lt;%= mesg %&gt;&lt;/p&gt;
2600
2599
  &lt;/div&gt;
2601
- <b>&lt;% end %&gt;</b>
2600
+ <strong>&lt;% end %&gt;</strong>
2602
2601
  </pre>
2603
2602
  <br>
2604
2603
 
@@ -2606,32 +2605,32 @@ compile</div>
2606
2605
  <h4 class="section3">PHP</h4>
2607
2606
  <div class="program_caption">
2608
2607
  presentation data (ex-if.pdata)</div>
2609
- <pre class="program">&lt;div <b>title="if($status=='error')"</b>&gt;
2610
- &lt;p class="error" title="cont($mesg)"&gt;error&lt;/p&gt;
2608
+ <pre class="program">&lt;div <strong>kw:d="if($status=='error')"</strong>&gt;
2609
+ &lt;p class="error" kw:d="cont($mesg)"&gt;error&lt;/p&gt;
2611
2610
  &lt;/div&gt;
2612
- &lt;div <b>title="elseif($status=='warning')"</b>&gt;
2613
- &lt;p class="warning" title="cont($mesg)"&gt;waring&lt;/p&gt;
2611
+ &lt;div <strong>kw:d="elseif($status=='warning')"</strong>&gt;
2612
+ &lt;p class="warning" kw:d="cont($mesg)"&gt;waring&lt;/p&gt;
2614
2613
  &lt;/div&gt;
2615
- &lt;div <b>title="else"</b>&gt;
2616
- &lt;p title="cont($mesg)"&gt;mesg&lt;/p&gt;
2614
+ &lt;div <strong>kw:d="else"</strong>&gt;
2615
+ &lt;p kw:d="cont($mesg)"&gt;mesg&lt;/p&gt;
2617
2616
  &lt;/div&gt;
2618
2617
  </pre>
2619
2618
  <div class="terminal_caption">
2620
2619
  compile</div>
2621
2620
  <pre class="terminal">$ kwartz -l php ex-if.pdata
2622
- <b>&lt;?php if ($status=='error') { ?&gt;</b>
2621
+ <strong>&lt;?php if ($status=='error') { ?&gt;</strong>
2623
2622
  &lt;div&gt;
2624
2623
  &lt;p class="error"&gt;&lt;?php echo $mesg; ?&gt;&lt;/p&gt;
2625
2624
  &lt;/div&gt;
2626
- <b>&lt;?php } elseif ($status=='warning') { ?&gt;</b>
2625
+ <strong>&lt;?php } elseif ($status=='warning') { ?&gt;</strong>
2627
2626
  &lt;div&gt;
2628
2627
  &lt;p class="warning"&gt;&lt;?php echo $mesg; ?&gt;&lt;/p&gt;
2629
2628
  &lt;/div&gt;
2630
- <b>&lt;?php } else { ?&gt;</b>
2629
+ <strong>&lt;?php } else { ?&gt;</strong>
2631
2630
  &lt;div&gt;
2632
2631
  &lt;p&gt;&lt;?php echo $mesg; ?&gt;&lt;/p&gt;
2633
2632
  &lt;/div&gt;
2634
- <b>&lt;?php } ?&gt;</b>
2633
+ <strong>&lt;?php } ?&gt;</strong>
2635
2634
  </pre>
2636
2635
  <br>
2637
2636
 
@@ -2639,32 +2638,32 @@ compile</div>
2639
2638
  <h4 class="section3">JSP</h4>
2640
2639
  <div class="program_caption">
2641
2640
  presentation data (ex-if.pdata)</div>
2642
- <pre class="program">&lt;div <b>title="if(status=='error')"</b>&gt;
2643
- &lt;p class="error" title="cont(mesg)"&gt;error&lt;/p&gt;
2641
+ <pre class="program">&lt;div <strong>kw:d="if(status=='error')"</strong>&gt;
2642
+ &lt;p class="error" kw:d="cont(mesg)"&gt;error&lt;/p&gt;
2644
2643
  &lt;/div&gt;
2645
- &lt;div <b>title="elseif(status=='warning')"</b>&gt;
2646
- &lt;p class="warning" title="cont(mesg)"&gt;waring&lt;/p&gt;
2644
+ &lt;div <strong>kw:d="elseif(status=='warning')"</strong>&gt;
2645
+ &lt;p class="warning" kw:d="cont(mesg)"&gt;waring&lt;/p&gt;
2647
2646
  &lt;/div&gt;
2648
- &lt;div <b>title="else"</b>&gt;
2649
- &lt;p title="cont(mesg)"&gt;mesg&lt;/p&gt;
2647
+ &lt;div <strong>kw:d="else"</strong>&gt;
2648
+ &lt;p kw:d="cont(mesg)"&gt;mesg&lt;/p&gt;
2650
2649
  &lt;/div&gt;
2651
2650
  </pre>
2652
2651
  <div class="terminal_caption">
2653
2652
  compile</div>
2654
2653
  <pre class="terminal">$ kwartz -l jstl ex-if.pdata
2655
- <b>&lt;c:choose&gt;&lt;c:when test="${status=='error'}"&gt;</b>
2654
+ <strong>&lt;c:choose&gt;&lt;c:when test="${status=='error'}"&gt;</strong>
2656
2655
  &lt;div&gt;
2657
2656
  &lt;p class="error"&gt;${mesg}&lt;/p&gt;
2658
2657
  &lt;/div&gt;
2659
- <b>&lt;/c:when&gt;&lt;c:when test="${status=='warning'}"&gt;</b>
2658
+ <strong>&lt;/c:when&gt;&lt;c:when test="${status=='warning'}"&gt;</strong>
2660
2659
  &lt;div&gt;
2661
2660
  &lt;p class="warning"&gt;${mesg}&lt;/p&gt;
2662
2661
  &lt;/div&gt;
2663
- <b>&lt;/c:when&gt;&lt;c:otherwise&gt;</b>
2662
+ <strong>&lt;/c:when&gt;&lt;c:otherwise&gt;</strong>
2664
2663
  &lt;div&gt;
2665
2664
  &lt;p&gt;${mesg}&lt;/p&gt;
2666
2665
  &lt;/div&gt;
2667
- <b>&lt;/c:otherwise&gt;&lt;/c:choose&gt;</b>
2666
+ <strong>&lt;/c:otherwise&gt;&lt;/c:choose&gt;</strong>
2668
2667
  </pre>
2669
2668
  <br>
2670
2669
 
@@ -2672,32 +2671,32 @@ compile</div>
2672
2671
  <h4 class="section3">Perl</h4>
2673
2672
  <div class="program_caption">
2674
2673
  presentation data (ex-if.pdata)</div>
2675
- <pre class="program">&lt;div <b>title="if($status=='error')"</b>&gt;
2676
- &lt;p class="error" title="cont($mesg)"&gt;error&lt;/p&gt;
2674
+ <pre class="program">&lt;div <strong>kw:d="if($status=='error')"</strong>&gt;
2675
+ &lt;p class="error" kw:d="cont($mesg)"&gt;error&lt;/p&gt;
2677
2676
  &lt;/div&gt;
2678
- &lt;div <b>title="elsif($status=='warning')"</b>&gt;
2679
- &lt;p class="warning" title="cont($mesg)"&gt;waring&lt;/p&gt;
2677
+ &lt;div <strong>kw:d="elsif($status=='warning')"</strong>&gt;
2678
+ &lt;p class="warning" kw:d="cont($mesg)"&gt;waring&lt;/p&gt;
2680
2679
  &lt;/div&gt;
2681
- &lt;div <b>title="else"</b>&gt;
2682
- &lt;p title="cont($mesg)"&gt;mesg&lt;/p&gt;
2680
+ &lt;div <strong>kw:d="else"</strong>&gt;
2681
+ &lt;p kw:d="cont($mesg)"&gt;mesg&lt;/p&gt;
2683
2682
  &lt;/div&gt;
2684
2683
  </pre>
2685
2684
  <div class="terminal_caption">
2686
2685
  compile</div>
2687
2686
  <pre class="terminal">$ kwartz -l eperl ex-if.pdata
2688
- <b>&lt;? if ($status=='error') { !&gt;</b>
2687
+ <strong>&lt;? if ($status=='error') { !&gt;</strong>
2689
2688
  &lt;div&gt;
2690
2689
  &lt;p class="error"&gt;&lt;?= $mesg !&gt;&lt;/p&gt;
2691
2690
  &lt;/div&gt;
2692
- <b>&lt;? } elsif ($status=='warning') { !&gt;</b>
2691
+ <strong>&lt;? } elsif ($status=='warning') { !&gt;</strong>
2693
2692
  &lt;div&gt;
2694
2693
  &lt;p class="warning"&gt;&lt;?= $mesg !&gt;&lt;/p&gt;
2695
2694
  &lt;/div&gt;
2696
- <b>&lt;? } else { !&gt;</b>
2695
+ <strong>&lt;? } else { !&gt;</strong>
2697
2696
  &lt;div&gt;
2698
2697
  &lt;p&gt;&lt;?= $mesg !&gt;&lt;/p&gt;
2699
2698
  &lt;/div&gt;
2700
- <b>&lt;? } !&gt;</b>
2699
+ <strong>&lt;? } !&gt;</strong>
2701
2700
  </pre>
2702
2701
  <br>
2703
2702
 
@@ -2712,14 +2711,14 @@ compile</div>
2712
2711
  <h4 class="section3">Ruby</h4>
2713
2712
  <div class="program_caption">
2714
2713
  presentation data (ex-set.pdata)</div>
2715
- <pre class="program">&lt;tr <b>title="set color=i%2==0 ? 'red' : 'blue'"</b>&gt;
2716
- &lt;td title="cont: color"&gt;red&lt;/td&gt;
2714
+ <pre class="program">&lt;tr <strong>kw:d="set color=i%2==0 ? 'red' : 'blue'"</strong>&gt;
2715
+ &lt;td kw:d="cont: color"&gt;red&lt;/td&gt;
2717
2716
  &lt;/tr&gt;
2718
2717
  </pre>
2719
2718
  <div class="terminal_caption">
2720
2719
  compile</div>
2721
2720
  <pre class="terminal">$ kwartz -l eruby ex-set.pdata
2722
- <b>&lt;% color=i%2==0 ? 'red' : 'blue' %&gt;</b>
2721
+ <strong>&lt;% color=i%2==0 ? 'red' : 'blue' %&gt;</strong>
2723
2722
  &lt;tr&gt;
2724
2723
  &lt;td&gt;&lt;%= color %&gt;&lt;/td&gt;
2725
2724
  &lt;/tr&gt;
@@ -2730,14 +2729,14 @@ compile</div>
2730
2729
  <h4 class="section3">PHP</h4>
2731
2730
  <div class="program_caption">
2732
2731
  presentation data (ex-set.pdata)</div>
2733
- <pre class="program">&lt;tr <b>title="set($color=$i%2==0 ? 'red' : 'blue')"</b>&gt;
2734
- &lt;td title="cont($color)"&gt;red&lt;/td&gt;
2732
+ <pre class="program">&lt;tr <strong>kw:d="set($color=$i%2==0 ? 'red' : 'blue')"</strong>&gt;
2733
+ &lt;td kw:d="cont($color)"&gt;red&lt;/td&gt;
2735
2734
  &lt;/tr&gt;
2736
2735
  </pre>
2737
2736
  <div class="terminal_caption">
2738
2737
  compile</div>
2739
2738
  <pre class="terminal">$ kwartz -l php ex-set.pdata
2740
- <b>&lt;?php $color=$i%2==0 ? 'red' : 'blue'; ?&gt;</b>
2739
+ <strong>&lt;?php $color=$i%2==0 ? 'red' : 'blue'; ?&gt;</strong>
2741
2740
  &lt;tr&gt;
2742
2741
  &lt;td&gt;&lt;?php echo $color; ?&gt;&lt;/td&gt;
2743
2742
  &lt;/tr&gt;
@@ -2748,14 +2747,14 @@ compile</div>
2748
2747
  <h4 class="section3">JSP</h4>
2749
2748
  <div class="program_caption">
2750
2749
  presentation data (ex-set.pdata)</div>
2751
- <pre class="program">&lt;tr <b>title="set(color=i%2==0 ? 'red' : 'blue')"</b>&gt;
2752
- &lt;td title="cont(color)"&gt;red&lt;/td&gt;
2750
+ <pre class="program">&lt;tr <strong>kw:d="set(color=i%2==0 ? 'red' : 'blue')"</strong>&gt;
2751
+ &lt;td kw:d="cont(color)"&gt;red&lt;/td&gt;
2753
2752
  &lt;/tr&gt;
2754
2753
  </pre>
2755
2754
  <div class="terminal_caption">
2756
2755
  compile</div>
2757
2756
  <pre class="terminal">$ kwartz -l jstl ex-set.pdata
2758
- <b>&lt;c:set var="color=i%2=" value="${0 ? 'red' : 'blue'}" /&gt;</b>
2757
+ <strong>&lt;c:set var="color=i%2=" value="${0 ? 'red' : 'blue'}"/&gt;</strong>
2759
2758
  &lt;tr&gt;
2760
2759
  &lt;td&gt;${color}&lt;/td&gt;
2761
2760
  &lt;/tr&gt;
@@ -2766,14 +2765,14 @@ compile</div>
2766
2765
  <h4 class="section3">Perl</h4>
2767
2766
  <div class="program_caption">
2768
2767
  presentation data (ex-set.pdata)</div>
2769
- <pre class="program">&lt;tr <b>title="set($color=i%2==0 ? 'red' : 'blue')"</b>&gt;
2770
- &lt;td title="cont($color)"&gt;red&lt;/td&gt;
2768
+ <pre class="program">&lt;tr <strong>kw:d="set($color=i%2==0 ? 'red' : 'blue')"</strong>&gt;
2769
+ &lt;td kw:d="cont($color)"&gt;red&lt;/td&gt;
2771
2770
  &lt;/tr&gt;
2772
2771
  </pre>
2773
2772
  <div class="terminal_caption">
2774
2773
  compile</div>
2775
2774
  <pre class="terminal">$ kwartz -l eperl ex-set.pdata
2776
- <b>&lt;? $color=i%2==0 ? 'red' : 'blue'; !&gt;</b>
2775
+ <strong>&lt;? $color=i%2==0 ? 'red' : 'blue'; !&gt;</strong>
2777
2776
  &lt;tr&gt;
2778
2777
  &lt;td&gt;&lt;?= $color !&gt;&lt;/td&gt;
2779
2778
  &lt;/tr&gt;
@@ -2795,8 +2794,8 @@ Id attribute is equivalent to 'mark' directive if other direcitve is not specifi
2795
2794
  <h4 class="section3">Ruby</h4>
2796
2795
  <div class="program_caption">
2797
2796
  presentation data (ex-mark.pdata)</div>
2798
- <pre class="program">&lt;ul <b>id="mark:list"</b>&gt;
2799
- &lt;li <b>title="id: item"</b>&gt;foo&lt;/li&gt;
2797
+ <pre class="program">&lt;ul <strong>id="mark:list"</strong>&gt;
2798
+ &lt;li <strong>kw:d="id: item"</strong>&gt;foo&lt;/li&gt;
2800
2799
  &lt;/ul&gt;
2801
2800
  </pre>
2802
2801
  <div class="terminal_caption">
@@ -2812,8 +2811,8 @@ compile</div>
2812
2811
  <h4 class="section3">PHP</h4>
2813
2812
  <div class="program_caption">
2814
2813
  presentation data (ex-mark.pdata)</div>
2815
- <pre class="program">&lt;ul <b>id="mark:list"</b>&gt;
2816
- &lt;li <b>title="id(item)"</b>&gt;foo&lt;/li&gt;
2814
+ <pre class="program">&lt;ul <strong>id="mark:list"</strong>&gt;
2815
+ &lt;li <strong>kw:d="id(item)"</strong>&gt;foo&lt;/li&gt;
2817
2816
  &lt;/ul&gt;
2818
2817
  </pre>
2819
2818
  <div class="terminal_caption">
@@ -2829,8 +2828,8 @@ compile</div>
2829
2828
  <h4 class="section3">JSP</h4>
2830
2829
  <div class="program_caption">
2831
2830
  presentation data (ex-mark.pdata)</div>
2832
- <pre class="program">&lt;ul <b>id="mark:list"</b>&gt;
2833
- &lt;li <b>title="id(item)"</b>&gt;foo&lt;/li&gt;
2831
+ <pre class="program">&lt;ul <strong>id="mark:list"</strong>&gt;
2832
+ &lt;li <strong>kw:d="id(item)"</strong>&gt;foo&lt;/li&gt;
2834
2833
  &lt;/ul&gt;
2835
2834
  </pre>
2836
2835
  <div class="terminal_caption">
@@ -2846,8 +2845,8 @@ compile</div>
2846
2845
  <h4 class="section3">Perl</h4>
2847
2846
  <div class="program_caption">
2848
2847
  presentation data (ex-mark.pdata)</div>
2849
- <pre class="program">&lt;ul <b>id="mark:list"</b>&gt;
2850
- &lt;li <b>title="id(item)"</b>&gt;foo&lt;/li&gt;
2848
+ <pre class="program">&lt;ul <strong>id="mark:list"</strong>&gt;
2849
+ &lt;li <strong>kw:d="id(item)"</strong>&gt;foo&lt;/li&gt;
2851
2850
  &lt;/ul&gt;
2852
2851
  </pre>
2853
2852
  <div class="terminal_caption">
@@ -2877,8 +2876,8 @@ and available with other directive.
2877
2876
  <div class="program_caption">
2878
2877
  presentation data (ex-attr.pdata)</div>
2879
2878
  <pre class="program">&lt;tr class="odd"
2880
- title="FOR v in list; <b>attr: 'class' v_tgl; attr: 'style' style</b>"&gt;
2881
- &lt;td title="cont v.name"&gt;foo&lt;/td&gt;
2879
+ kw:d="FOR v in list; <strong>attr: 'class' v_tgl; attr: 'style' style</strong>"&gt;
2880
+ &lt;td kw:d="cont v.name"&gt;foo&lt;/td&gt;
2882
2881
  &lt;/tr&gt;
2883
2882
  </pre>
2884
2883
  <div class="terminal_caption">
@@ -2888,7 +2887,7 @@ compile</div>
2888
2887
  &lt;% for v in list do %&gt;
2889
2888
  &lt;% v_ctr += 1 %&gt;
2890
2889
  &lt;% v_tgl = v_ctr%2==0 ? 'even' : 'odd' %&gt;
2891
- &lt;tr <b>class="&lt;%= v_tgl %&gt;"</b> <b>style="&lt;%= style %&gt;"&gt;</b>
2890
+ &lt;tr <strong>class="&lt;%= v_tgl %&gt;"</strong> <strong>style="&lt;%= style %&gt;"&gt;</strong>
2892
2891
  &lt;td&gt;&lt;%= v.name %&gt;&lt;/td&gt;
2893
2892
  &lt;/tr&gt;
2894
2893
  &lt;% end %&gt;
@@ -2900,8 +2899,8 @@ compile</div>
2900
2899
  <div class="program_caption">
2901
2900
  presentation data (ex-attr.pdata)</div>
2902
2901
  <pre class="program">&lt;tr class="odd"
2903
- title="FOREACH($list as $v); <b>attr('class',$v_tgl); attr('style',$style)</b>"&gt;
2904
- &lt;td title="cont($v-&gt;name)"&gt;foo&lt;/td&gt;
2902
+ kw:d="FOREACH($list as $v); <strong>attr('class',$v_tgl); attr('style',$style)</strong>"&gt;
2903
+ &lt;td kw:d="cont($v-&gt;name)"&gt;foo&lt;/td&gt;
2905
2904
  &lt;/tr&gt;
2906
2905
  </pre>
2907
2906
  <div class="terminal_caption">
@@ -2911,7 +2910,7 @@ compile</div>
2911
2910
  &lt;?php foreach ($list as $v) { ?&gt;
2912
2911
  &lt;?php $v_ctr++; ?&gt;
2913
2912
  &lt;?php $v_tgl = $v_ctr%2==0 ? 'even' : 'odd'; ?&gt;
2914
- &lt;tr <b>class="&lt;?php echo $v_tgl; ?&gt;"</b> <b>style="&lt;?php echo $style; ?&gt;"</b>&gt;
2913
+ &lt;tr <strong>class="&lt;?php echo $v_tgl; ?&gt;"</strong> <strong>style="&lt;?php echo $style; ?&gt;"</strong>&gt;
2915
2914
  &lt;td&gt;&lt;?php echo $v-&gt;name; ?&gt;&lt;/td&gt;
2916
2915
  &lt;/tr&gt;
2917
2916
  &lt;?php } ?&gt;
@@ -2923,17 +2922,17 @@ compile</div>
2923
2922
  <div class="program_caption">
2924
2923
  presentation data (ex-attr.pdata)</div>
2925
2924
  <pre class="program">&lt;tr class="odd"
2926
- title="FOR(v: list); <b>attr('class',v_tgl); attr('style',style)</b>"&gt;
2927
- &lt;td title="cont(v.name)"&gt;foo&lt;/td&gt;
2925
+ kw:d="FOR(v: list); <strong>attr('class',v_tgl); attr('style',style)</strong>"&gt;
2926
+ &lt;td kw:d="cont(v.name)"&gt;foo&lt;/td&gt;
2928
2927
  &lt;/tr&gt;
2929
2928
  </pre>
2930
2929
  <div class="terminal_caption">
2931
2930
  compile</div>
2932
2931
  <pre class="terminal">$ kwartz -l jstl ex-attr.pdata
2933
2932
  &lt;c:forEach var="v" items="${list}" varStatus="v_status"&gt;
2934
- &lt;c:set var="v_ctr" value="${v_status.count}" /&gt;
2935
- &lt;c:set var="v_tgl" value="${v_status.count%2==0 ? 'even' : 'odd'}" /&gt;
2936
- &lt;tr <b>class="${v_tgl}"</b> <b>style="${style}"</b>&gt;
2933
+ &lt;c:set var="v_ctr" value="${v_status.count}"/&gt;
2934
+ &lt;c:set var="v_tgl" value="${v_status.count%2==0 ? 'even' : 'odd'}"/&gt;
2935
+ &lt;tr <strong>class="${v_tgl}"</strong> <strong>style="${style}"</strong>&gt;
2937
2936
  &lt;td&gt;${v.name}&lt;/td&gt;
2938
2937
  &lt;/tr&gt;
2939
2938
  &lt;/c:forEach&gt;
@@ -2945,8 +2944,8 @@ compile</div>
2945
2944
  <div class="program_caption">
2946
2945
  presentation data (ex-attr.pdata)</div>
2947
2946
  <pre class="program">&lt;tr class="odd"
2948
- title="FOREACH($v in @list); <b>attr('class',$v_tgl); attr('style',$style)</b>"&gt;
2949
- &lt;td title="cont($v-&gt;name)"&gt;foo&lt;/td&gt;
2947
+ kw:d="FOREACH($v in @list); <strong>attr('class',$v_tgl); attr('style',$style)</strong>"&gt;
2948
+ &lt;td kw:d="cont($v-&gt;name)"&gt;foo&lt;/td&gt;
2950
2949
  &lt;/tr&gt;
2951
2950
  </pre>
2952
2951
  <div class="terminal_caption">
@@ -2956,7 +2955,7 @@ compile</div>
2956
2955
  &lt;? foreach my $v (@list) { !&gt;
2957
2956
  &lt;? $v_ctr++; !&gt;
2958
2957
  &lt;? my $v_tgl = $v_ctr%2==0 ? 'even' : 'odd'; !&gt;
2959
- &lt;tr <b>class="&lt;?= $v_tgl !&gt;"</b> <b>style="&lt;?= $style !&gt;"</b>&gt;
2958
+ &lt;tr <strong>class="&lt;?= $v_tgl !&gt;"</strong> <strong>style="&lt;?= $style !&gt;"</strong>&gt;
2960
2959
  &lt;td&gt;&lt;?= $v-&gt;name !&gt;&lt;/td&gt;
2961
2960
  &lt;/tr&gt;
2962
2961
  &lt;? } !&gt;
@@ -2981,12 +2980,12 @@ and available with other directive.
2981
2980
  <div class="program_caption">
2982
2981
  presentation data (ex-append.pdata)</div>
2983
2982
  <pre class="program">&lt;input type="checkbox"
2984
- <b>title="append: flag1 ? ' checked=\'checked\'' : ''"</b>&gt;
2983
+ <strong>kw:d="append: flag1 ? ' checked=\'checked\'' : ''"</strong>&gt;
2985
2984
  </pre>
2986
2985
  <div class="terminal_caption">
2987
2986
  compile</div>
2988
2987
  <pre class="terminal">$ kwartz -l eruby ex-append.pdata
2989
- &lt;input type="checkbox"<b>&lt;%= flag1 ? ' checked=\'checked\'' : '' %&gt;</b>&gt;
2988
+ &lt;input type="checkbox"<strong>&lt;%= flag1 ? ' checked=\'checked\'' : '' %&gt;</strong>&gt;
2990
2989
  </pre>
2991
2990
  <br>
2992
2991
 
@@ -2995,12 +2994,12 @@ compile</div>
2995
2994
  <div class="program_caption">
2996
2995
  presentation data (ex-append.pdata)</div>
2997
2996
  <pre class="program">&lt;input type="checkbox"
2998
- <b>title="append($flag1 ? ' checked=\'checked\'' : '')"</b>&gt;
2997
+ <strong>kw:d="append($flag1 ? ' checked=\'checked\'' : '')"</strong>&gt;
2999
2998
  </pre>
3000
2999
  <div class="terminal_caption">
3001
3000
  compile</div>
3002
3001
  <pre class="terminal">$ kwartz -l php ex-append.pdata
3003
- &lt;input type="checkbox"<b>&lt;?php echo $flag1 ? ' checked=\'checked\'' : ''; ?&gt;</b>&gt;
3002
+ &lt;input type="checkbox"<strong>&lt;?php echo $flag1 ? ' checked=\'checked\'' : ''; ?&gt;</strong>&gt;
3004
3003
  </pre>
3005
3004
  <br>
3006
3005
 
@@ -3009,12 +3008,12 @@ compile</div>
3009
3008
  <div class="program_caption">
3010
3009
  presentation data (ex-append.pdata)</div>
3011
3010
  <pre class="program">&lt;input type="checkbox"
3012
- <b>title="append(flag1 ? ' checked=\'checked\'' : '')"</b>&gt;
3011
+ <strong>kw:d="append(flag1 ? ' checked=\'checked\'' : '')"</strong>&gt;
3013
3012
  </pre>
3014
3013
  <div class="terminal_caption">
3015
3014
  compile</div>
3016
3015
  <pre class="terminal">$ kwartz -l jstl ex-append.pdata
3017
- &lt;input type="checkbox"<b>${flag1 ? ' checked=\'checked\'' : ''}</b>&gt;
3016
+ &lt;input type="checkbox"<strong>${flag1 ? ' checked=\'checked\'' : ''}</strong>&gt;
3018
3017
  </pre>
3019
3018
  <br>
3020
3019
 
@@ -3023,12 +3022,12 @@ compile</div>
3023
3022
  <div class="program_caption">
3024
3023
  presentation data (ex-append.pdata)</div>
3025
3024
  <pre class="program">&lt;input type="checkbox"
3026
- <b>title="append($flag1 ? ' checked=\'checked\'' : '')"</b>&gt;
3025
+ <strong>kw:d="append($flag1 ? ' checked=\'checked\'' : '')"</strong>&gt;
3027
3026
  </pre>
3028
3027
  <div class="terminal_caption">
3029
3028
  compile</div>
3030
3029
  <pre class="terminal">$ kwartz -l eperl ex-append.pdata
3031
- &lt;input type="checkbox"<b>&lt;?= $flag1 ? ' checked=\'checked\'' : '' !&gt;</b>&gt;
3030
+ &lt;input type="checkbox"<strong>&lt;?= $flag1 ? ' checked=\'checked\'' : '' !&gt;</strong>&gt;
3032
3031
  </pre>
3033
3032
  <br>
3034
3033
 
@@ -3048,8 +3047,8 @@ It is very useful when preview the HTML design in browser.
3048
3047
  presentation data (ex-dummy.pdata)</div>
3049
3048
  <pre class="program">&lt;ul&gt;
3050
3049
  &lt;li&gt;foo&lt;/li&gt;
3051
- &lt;li <b>id="dummy:d1"</b>&gt;bar&lt;/li&gt;
3052
- &lt;li <b>title="dummy:"</b>&gt;baz&lt;/li&gt;
3050
+ &lt;li <strong>id="dummy:d1"</strong>&gt;bar&lt;/li&gt;
3051
+ &lt;li <strong>kw:d="dummy:"</strong>&gt;baz&lt;/li&gt;
3053
3052
  &lt;/ul&gt;
3054
3053
  </pre>
3055
3054
  <div class="terminal_caption">
@@ -3067,8 +3066,8 @@ compile</div>
3067
3066
  presentation data (ex-dummy.pdata)</div>
3068
3067
  <pre class="program">&lt;ul&gt;
3069
3068
  &lt;li&gt;foo&lt;/li&gt;
3070
- &lt;li <b>id="dummy:d1"</b>&gt;bar&lt;/li&gt;
3071
- &lt;li <b>title="dummy()"</b>&gt;baz&lt;/li&gt;
3069
+ &lt;li <strong>id="dummy:d1"</strong>&gt;bar&lt;/li&gt;
3070
+ &lt;li <strong>kw:d="dummy()"</strong>&gt;baz&lt;/li&gt;
3072
3071
  &lt;/ul&gt;
3073
3072
  </pre>
3074
3073
  <div class="terminal_caption">
@@ -3086,8 +3085,8 @@ compile</div>
3086
3085
  presentation data (ex-dummy.pdata)</div>
3087
3086
  <pre class="program">&lt;ul&gt;
3088
3087
  &lt;li&gt;foo&lt;/li&gt;
3089
- &lt;li <b>id="dummy:d1"</b>&gt;bar&lt;/li&gt;
3090
- &lt;li <b>title="dummy()"</b>&gt;baz&lt;/li&gt;
3088
+ &lt;li <strong>id="dummy:d1"</strong>&gt;bar&lt;/li&gt;
3089
+ &lt;li <strong>kw:d="dummy()"</strong>&gt;baz&lt;/li&gt;
3091
3090
  &lt;/ul&gt;
3092
3091
  </pre>
3093
3092
  <div class="terminal_caption">
@@ -3105,8 +3104,8 @@ compile</div>
3105
3104
  presentation data (ex-dummy.pdata)</div>
3106
3105
  <pre class="program">&lt;ul&gt;
3107
3106
  &lt;li&gt;foo&lt;/li&gt;
3108
- &lt;li <b>id="dummy:d1"</b>&gt;bar&lt;/li&gt;
3109
- &lt;li <b>title="dummy()"</b>&gt;baz&lt;/li&gt;
3107
+ &lt;li <strong>id="dummy:d1"</strong>&gt;bar&lt;/li&gt;
3108
+ &lt;li <strong>kw:d="dummy()"</strong>&gt;baz&lt;/li&gt;
3110
3109
  &lt;/ul&gt;
3111
3110
  </pre>
3112
3111
  <div class="terminal_caption">
@@ -3134,12 +3133,12 @@ or PROPERTY_ESCAPE is true in configuration file.
3134
3133
  <h4 class="section3">Ruby</h4>
3135
3134
  <div class="program_caption">
3136
3135
  presentation data (ex-default.pdata)</div>
3137
- <pre class="program">name: &lt;em <b>title="default: user"</b>&gt;Guest&lt;/em&gt;
3136
+ <pre class="program">name: &lt;em <strong>kw:d="default: user"</strong>&gt;Guest&lt;/em&gt;
3138
3137
  </pre>
3139
3138
  <div class="terminal_caption">
3140
3139
  compile</div>
3141
3140
  <pre class="terminal">$ kwartz -l eruby ex-default.pdata
3142
- name: &lt;em&gt;<b>&lt;% if (user) &amp;&amp; !(user).to_s.empty? then %&gt;&lt;%= user %&gt;&lt;% else %&gt;Guest&lt;% end %&gt;</b>&lt;/em&gt;
3141
+ name: &lt;em&gt;<strong>&lt;% if (user) &amp;&amp; !(user).to_s.empty? then %&gt;&lt;%= user %&gt;&lt;% else %&gt;Guest&lt;% end %&gt;</strong>&lt;/em&gt;
3143
3142
  </pre>
3144
3143
  <br>
3145
3144
 
@@ -3147,12 +3146,12 @@ name: &lt;em&gt;<b>&lt;% if (user) &amp;&amp; !(user).to_s.empty? then %&gt;&lt;
3147
3146
  <h4 class="section3">PHP</h4>
3148
3147
  <div class="program_caption">
3149
3148
  presentation data (ex-default.pdata)</div>
3150
- <pre class="program">name: &lt;em <b>title="default($user)"</b>&gt;Guest&lt;/em&gt;
3149
+ <pre class="program">name: &lt;em <strong>kw:d="default($user)"</strong>&gt;Guest&lt;/em&gt;
3151
3150
  </pre>
3152
3151
  <div class="terminal_caption">
3153
3152
  compile</div>
3154
3153
  <pre class="terminal">$ kwartz -l php ex-default.pdata
3155
- name: &lt;em&gt;<b>&lt;?php if ($user) { ?&gt;&lt;?php echo $user; ?&gt;&lt;?php } else { ?&gt;Guest&lt;?php } ?&gt;</b>&lt;/em&gt;
3154
+ name: &lt;em&gt;<strong>&lt;?php if ($user) { ?&gt;&lt;?php echo $user; ?&gt;&lt;?php } else { ?&gt;Guest&lt;?php } ?&gt;</strong>&lt;/em&gt;
3156
3155
  </pre>
3157
3156
  <br>
3158
3157
 
@@ -3160,12 +3159,12 @@ name: &lt;em&gt;<b>&lt;?php if ($user) { ?&gt;&lt;?php echo $user; ?&gt;&lt;?php
3160
3159
  <h4 class="section3">JSP</h4>
3161
3160
  <div class="program_caption">
3162
3161
  presentation data (ex-default.pdata)</div>
3163
- <pre class="program">name: &lt;em <b>title="default(user)"</b>&gt;Guest&lt;/em&gt;
3162
+ <pre class="program">name: &lt;em <strong>kw:d="default(user)"</strong>&gt;Guest&lt;/em&gt;
3164
3163
  </pre>
3165
3164
  <div class="terminal_caption">
3166
3165
  compile</div>
3167
3166
  <pre class="terminal">$ kwartz -l jstl ex-default.pdata
3168
- name: &lt;em&gt;<b>&lt;c:out value="${user}" default="Guest" /&gt;</b>&lt;/em&gt;
3167
+ name: &lt;em&gt;<strong>&lt;c:out value="${user}" default="Guest"/&gt;</strong>&lt;/em&gt;
3169
3168
  </pre>
3170
3169
  <br>
3171
3170
 
@@ -3173,12 +3172,12 @@ name: &lt;em&gt;<b>&lt;c:out value="${user}" default="Guest" /&gt;</b>&lt;/em&gt
3173
3172
  <h4 class="section3">Perl</h4>
3174
3173
  <div class="program_caption">
3175
3174
  presentation data (ex-default.pdata)</div>
3176
- <pre class="program">name: &lt;em <b>title="default($user)"</b>&gt;Guest&lt;/em&gt;
3175
+ <pre class="program">name: &lt;em <strong>kw:d="default($user)"</strong>&gt;Guest&lt;/em&gt;
3177
3176
  </pre>
3178
3177
  <div class="terminal_caption">
3179
3178
  compile</div>
3180
3179
  <pre class="terminal">$ kwartz -l eperl ex-default.pdata
3181
- name: &lt;em&gt;<b>&lt;? if ($user) { !&gt;&lt;?= $user !&gt;&lt;? } else { !&gt;Guest&lt;? } !&gt;</b>&lt;/em&gt;
3180
+ name: &lt;em&gt;<strong>&lt;? if ($user) { !&gt;&lt;?= $user !&gt;&lt;? } else { !&gt;Guest&lt;? } !&gt;</strong>&lt;/em&gt;
3182
3181
  </pre>
3183
3182
  <br>
3184
3183
 
@@ -3197,27 +3196,27 @@ directives replace element or content with other element or content.
3197
3196
  <h4 class="section3">Ruby, PHP, JSP, Perl</h4>
3198
3197
  <div class="program_caption">
3199
3198
  presentation data (ex-replace.pdata)</div>
3200
- <pre class="program">&lt;div <b>id="mark:link"</b>&gt;
3199
+ <pre class="program">&lt;div <strong>id="mark:link"</strong>&gt;
3201
3200
  back to &lt;a href="/"&gt;home&lt;/a&gt;.
3202
3201
  &lt;/div&gt;
3203
3202
 
3204
3203
  &lt;!-- replace element with other element --&gt;
3205
- &lt;p <b>id="replace_element_with_element:link"</b>&gt;
3204
+ &lt;p <strong>id="replace_element_with_element:link"</strong>&gt;
3206
3205
  back to home
3207
3206
  &lt;/p&gt;
3208
3207
 
3209
3208
  &lt;!-- replace element with other content--&gt;
3210
- &lt;p <b>id="replace_element_with_content:link"</b>&gt;
3209
+ &lt;p <strong>id="replace_element_with_content:link"</strong>&gt;
3211
3210
  back to home
3212
3211
  &lt;/p&gt;
3213
3212
 
3214
3213
  &lt;!-- replace content with other element --&gt;
3215
- &lt;p <b>id="replace_content_with_element:link"</b>&gt;
3214
+ &lt;p <strong>id="replace_content_with_element:link"</strong>&gt;
3216
3215
  back to home
3217
3216
  &lt;/p&gt;
3218
3217
 
3219
3218
  &lt;!-- replace content with other content --&gt;
3220
- &lt;p <b>id="replace_content_with_content:link"</b>&gt;
3219
+ &lt;p <strong>id="replace_content_with_content:link"</strong>&gt;
3221
3220
  back to home
3222
3221
  &lt;/p&gt;
3223
3222
  </pre>
@@ -3253,6 +3252,242 @@ compile</div>
3253
3252
  <br>
3254
3253
 
3255
3254
 
3255
+ <a name="directive-replace2"></a>
3256
+ <h3 class="section2">replace_element_with, replace_content_with</h3>
3257
+ <p>'replace_element_with' and 'replace_content_with' directives replace element
3258
+ or content with other element or content.
3259
+ </p>
3260
+ <a name="directive-replace2-eruby"></a>
3261
+ <h4 class="section3">Ruby</h4>
3262
+ <div class="program_caption">
3263
+ presentation data (ex-replace2.pdata)</div>
3264
+ <pre class="program">&lt;div <strong>id="mark:link"</strong>&gt;
3265
+ back to &lt;a href="/"&gt;home&lt;/a&gt;.
3266
+ &lt;/div&gt;
3267
+
3268
+ &lt;!-- replace element with other element --&gt;
3269
+ &lt;p <strong>kw:d="replace_element_with: element(link)"</strong>&gt;
3270
+ back to home
3271
+ &lt;/p&gt;
3272
+
3273
+ &lt;!-- replace element with other content--&gt;
3274
+ &lt;p <strong>kw:d="replace_element_with: content(link)"</strong>&gt;
3275
+ back to home
3276
+ &lt;/p&gt;
3277
+
3278
+ &lt;!-- replace content with other element --&gt;
3279
+ &lt;p <strong>kw:d="replace_content_with: element(link)"</strong>&gt;
3280
+ back to home
3281
+ &lt;/p&gt;
3282
+
3283
+ &lt;!-- replace content with other content --&gt;
3284
+ &lt;p <strong>kw:d="replace_content_with: content(link)"</strong>&gt;
3285
+ back to home
3286
+ &lt;/p&gt;
3287
+ </pre>
3288
+ <div class="terminal_caption">
3289
+ compile</div>
3290
+ <pre class="terminal">$ kwartz -l eruby ex-replace2.pdata
3291
+ &lt;div&gt;
3292
+ back to &lt;a href="/"&gt;home&lt;/a&gt;.
3293
+ &lt;/div&gt;
3294
+
3295
+ &lt;!-- replace element with other element --&gt;
3296
+ &lt;div&gt;
3297
+ back to &lt;a href="/"&gt;home&lt;/a&gt;.
3298
+ &lt;/div&gt;
3299
+
3300
+ &lt;!-- replace element with other content--&gt;
3301
+ back to &lt;a href="/"&gt;home&lt;/a&gt;.
3302
+
3303
+ &lt;!-- replace content with other element --&gt;
3304
+ &lt;p&gt;
3305
+ &lt;div&gt;
3306
+ back to &lt;a href="/"&gt;home&lt;/a&gt;.
3307
+ &lt;/div&gt;
3308
+ &lt;/p&gt;
3309
+
3310
+ &lt;!-- replace content with other content --&gt;
3311
+ &lt;p&gt;
3312
+ back to &lt;a href="/"&gt;home&lt;/a&gt;.
3313
+ &lt;/p&gt;
3314
+ </pre>
3315
+ <br>
3316
+
3317
+ <a name="directive-replace2-php"></a>
3318
+ <h4 class="section3">PHP</h4>
3319
+ <div class="program_caption">
3320
+ presentation data (ex-replace2.pdata)</div>
3321
+ <pre class="program">&lt;div kw:d="id(link)"&gt;
3322
+ back to &lt;a href="/"&gt;home&lt;/a&gt;.
3323
+ &lt;/div&gt;
3324
+
3325
+ &lt;!-- replace element with other element --&gt;
3326
+ &lt;p kw:d="replace_element_with(element(link))"&gt;
3327
+ back to home
3328
+ &lt;/p&gt;
3329
+
3330
+ &lt;!-- replace element with other content--&gt;
3331
+ &lt;p kw:d="replace_element_with(content(link))"&gt;
3332
+ back to home
3333
+ &lt;/p&gt;
3334
+
3335
+ &lt;!-- replace content with other element --&gt;
3336
+ &lt;p kw:d="replace_content_with(element(link))"&gt;
3337
+ back to home
3338
+ &lt;/p&gt;
3339
+
3340
+ &lt;!-- replace content with other content --&gt;
3341
+ &lt;p kw:d="replace_content_with(content(link))"&gt;
3342
+ back to home
3343
+ &lt;/p&gt;
3344
+ </pre>
3345
+ <div class="terminal_caption">
3346
+ compile</div>
3347
+ <pre class="terminal">$ kwartz -l php ex-replace2.pdata
3348
+ &lt;div&gt;
3349
+ back to &lt;a href="/"&gt;home&lt;/a&gt;.
3350
+ &lt;/div&gt;
3351
+
3352
+ &lt;!-- replace element with other element --&gt;
3353
+ &lt;div&gt;
3354
+ back to &lt;a href="/"&gt;home&lt;/a&gt;.
3355
+ &lt;/div&gt;
3356
+
3357
+ &lt;!-- replace element with other content--&gt;
3358
+ back to &lt;a href="/"&gt;home&lt;/a&gt;.
3359
+
3360
+ &lt;!-- replace content with other element --&gt;
3361
+ &lt;p&gt;
3362
+ &lt;div&gt;
3363
+ back to &lt;a href="/"&gt;home&lt;/a&gt;.
3364
+ &lt;/div&gt;
3365
+ &lt;/p&gt;
3366
+
3367
+ &lt;!-- replace content with other content --&gt;
3368
+ &lt;p&gt;
3369
+ back to &lt;a href="/"&gt;home&lt;/a&gt;.
3370
+ &lt;/p&gt;
3371
+ </pre>
3372
+ <br>
3373
+
3374
+ <a name="directive-replace2-jstl"></a>
3375
+ <h4 class="section3">JSP</h4>
3376
+ <div class="program_caption">
3377
+ presentation data (ex-replace2.pdata)</div>
3378
+ <pre class="program">&lt;div kw:d="id(link)"&gt;
3379
+ back to &lt;a href="/"&gt;home&lt;/a&gt;.
3380
+ &lt;/div&gt;
3381
+
3382
+ &lt;!-- replace element with other element --&gt;
3383
+ &lt;p kw:d="replace_element_with(element(link))"&gt;
3384
+ back to home
3385
+ &lt;/p&gt;
3386
+
3387
+ &lt;!-- replace element with other content--&gt;
3388
+ &lt;p kw:d="replace_element_with(content(link))"&gt;
3389
+ back to home
3390
+ &lt;/p&gt;
3391
+
3392
+ &lt;!-- replace content with other element --&gt;
3393
+ &lt;p kw:d="replace_content_with(element(link))"&gt;
3394
+ back to home
3395
+ &lt;/p&gt;
3396
+
3397
+ &lt;!-- replace content with other content --&gt;
3398
+ &lt;p kw:d="replace_content_with(content(link))"&gt;
3399
+ back to home
3400
+ &lt;/p&gt;
3401
+ </pre>
3402
+ <div class="terminal_caption">
3403
+ compile</div>
3404
+ <pre class="terminal">$ kwartz -l jstl ex-replace2.pdata
3405
+ &lt;div&gt;
3406
+ back to &lt;a href="/"&gt;home&lt;/a&gt;.
3407
+ &lt;/div&gt;
3408
+
3409
+ &lt;!-- replace element with other element --&gt;
3410
+ &lt;div&gt;
3411
+ back to &lt;a href="/"&gt;home&lt;/a&gt;.
3412
+ &lt;/div&gt;
3413
+
3414
+ &lt;!-- replace element with other content--&gt;
3415
+ back to &lt;a href="/"&gt;home&lt;/a&gt;.
3416
+
3417
+ &lt;!-- replace content with other element --&gt;
3418
+ &lt;p&gt;
3419
+ &lt;div&gt;
3420
+ back to &lt;a href="/"&gt;home&lt;/a&gt;.
3421
+ &lt;/div&gt;
3422
+ &lt;/p&gt;
3423
+
3424
+ &lt;!-- replace content with other content --&gt;
3425
+ &lt;p&gt;
3426
+ back to &lt;a href="/"&gt;home&lt;/a&gt;.
3427
+ &lt;/p&gt;
3428
+ </pre>
3429
+ <br>
3430
+
3431
+ <a name="directive-replace2-eperl"></a>
3432
+ <h4 class="section3">Perl</h4>
3433
+ <div class="program_caption">
3434
+ presentation data (ex-replace2.pdata)</div>
3435
+ <pre class="program">&lt;div kw:d="id(link)"&gt;
3436
+ back to &lt;a href="/"&gt;home&lt;/a&gt;.
3437
+ &lt;/div&gt;
3438
+
3439
+ &lt;!-- replace element with other element --&gt;
3440
+ &lt;p kw:d="replace_element_with(element(link))"&gt;
3441
+ back to home
3442
+ &lt;/p&gt;
3443
+
3444
+ &lt;!-- replace element with other content--&gt;
3445
+ &lt;p kw:d="replace_element_with(content(link))"&gt;
3446
+ back to home
3447
+ &lt;/p&gt;
3448
+
3449
+ &lt;!-- replace content with other element --&gt;
3450
+ &lt;p kw:d="replace_content_with(element(link))"&gt;
3451
+ back to home
3452
+ &lt;/p&gt;
3453
+
3454
+ &lt;!-- replace content with other content --&gt;
3455
+ &lt;p kw:d="replace_content_with(content(link))"&gt;
3456
+ back to home
3457
+ &lt;/p&gt;
3458
+ </pre>
3459
+ <div class="terminal_caption">
3460
+ compile</div>
3461
+ <pre class="terminal">$ kwartz -l eperl ex-replace2.pdata
3462
+ &lt;div&gt;
3463
+ back to &lt;a href="/"&gt;home&lt;/a&gt;.
3464
+ &lt;/div&gt;
3465
+
3466
+ &lt;!-- replace element with other element --&gt;
3467
+ &lt;div&gt;
3468
+ back to &lt;a href="/"&gt;home&lt;/a&gt;.
3469
+ &lt;/div&gt;
3470
+
3471
+ &lt;!-- replace element with other content--&gt;
3472
+ back to &lt;a href="/"&gt;home&lt;/a&gt;.
3473
+
3474
+ &lt;!-- replace content with other element --&gt;
3475
+ &lt;p&gt;
3476
+ &lt;div&gt;
3477
+ back to &lt;a href="/"&gt;home&lt;/a&gt;.
3478
+ &lt;/div&gt;
3479
+ &lt;/p&gt;
3480
+
3481
+ &lt;!-- replace content with other content --&gt;
3482
+ &lt;p&gt;
3483
+ back to &lt;a href="/"&gt;home&lt;/a&gt;.
3484
+ &lt;/p&gt;
3485
+ </pre>
3486
+ <br>
3487
+
3488
+ <br>
3489
+
3490
+
3256
3491
  <br>
3257
3492
 
3258
3493