You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

document2html.xsl 22KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488
  1. <?xml version="1.0"?>
  2. <xsl:stylesheet
  3. xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  4. version="1.0">
  5. <xsl:param name="stylebook.project"/>
  6. <xsl:param name="copyright"/>
  7. <xsl:param name="id"/>
  8. <!-- ====================================================================== -->
  9. <!-- document section -->
  10. <!-- ====================================================================== -->
  11. <xsl:template match="/">
  12. <!-- checks if this is the included document to avoid neverending loop -->
  13. <xsl:if test="not(book)">
  14. <html>
  15. <head>
  16. <script language="JavaScript" type="text/javascript" src="resources/script.js"/>
  17. <title><xsl:value-of select="document/header/title"/></title>
  18. </head>
  19. <body text="#000000" link="#039acc" vlink="#0086b2" alink="#cc0000"
  20. topmargin="4" leftmargin="4" marginwidth="4" marginheight="4"
  21. bgcolor="#ffffff">
  22. <!-- THE TOP BAR (HEADER) -->
  23. <table width="100%" cellspacing="0" cellpadding="0" border="0">
  24. <tr>
  25. <td width="135" height="60" rowspan="3" valign="top" align="left">
  26. <img width="135" height="60" src="resources/logo.gif" hspace="0" vspace="0" border="0"/>
  27. </td>
  28. <td width="100%" height="5" valign="top" align="left" colspan="2" background="resources/line.gif">
  29. <img width="1" height="5" src="resources/line.gif" hspace="0" vspace="0" border="0" align="left"/>
  30. </td>
  31. <td width="29" height="60" rowspan="3" valign="top" align="left">
  32. <img width="29" height="60" src="resources/right.gif" hspace="0" vspace="0" border="0"/>
  33. </td>
  34. </tr>
  35. <tr>
  36. <td width="100%" height="35" valign="top" align="left" colspan="2" bgcolor="#0086b2">
  37. <img src="graphics/{$id}-header.jpg" width="456" height="35" hspace="0" vspace="0" border="0" alt="{header/title}" align="right"/>
  38. </td>
  39. </tr>
  40. <tr>
  41. <td width="100%" height="20" valign="top" align="left" bgcolor="#0086b2" background="resources/bottom.gif">
  42. <img width="3" height="20" src="resources/bottom.gif" hspace="0" vspace="0" border="0" align="left"/>
  43. </td>
  44. <td align="right" bgcolor="#0086b2" height="20" valign="top" width="288" background="resources/bottom.gif">
  45. <table border="0" cellpadding="0" cellspacing="0" width="288">
  46. <tr>
  47. <td width="96" height="20" valign="top" align="left">
  48. <a href="http://xml.apache.org/" onMouseOver="rolloverOn('xml');" onMouseOut="rolloverOff('xml');" target="new">
  49. <img alt="http://xml.apache.org/" width="96" height="20" src="resources/button-xml-lo.gif"
  50. name="xml" hspace="0" vspace="0" border="0"
  51. onLoad="rolloverLoad('xml','resources/button-xml-hi.gif','resources/button-xml-lo.gif');"/>
  52. </a>
  53. </td>
  54. <td width="96" height="20" valign="top" align="left">
  55. <a href="http://www.apache.org/" onMouseOver="rolloverOn('asf');" onMouseOut="rolloverOff('asf');" target="new">
  56. <img alt="http://www.apache.org/" width="96" height="20" src="resources/button-asf-lo.gif"
  57. name="asf" hspace="0" vspace="0" border="0"
  58. onLoad="rolloverLoad('asf','resources/button-asf-hi.gif','resources/button-asf-lo.gif');"/>
  59. </a>
  60. </td>
  61. <td width="96" height="20" valign="top" align="left">
  62. <a href="http://www.w3.org/" onMouseOver="rolloverOn('w3c');" onMouseOut="rolloverOff('w3c');" target="new">
  63. <img alt="http://www.w3.org/" width="96" height="20" src="resources/button-w3c-lo.gif"
  64. name="w3c" hspace="0" vspace="0" border="0"
  65. onLoad="rolloverLoad('w3c','resources/button-w3c-hi.gif','resources/button-w3c-lo.gif');"/>
  66. </a>
  67. </td>
  68. </tr>
  69. </table>
  70. </td>
  71. </tr>
  72. </table>
  73. <!-- THE MAIN PANEL (SIDEBAR AND CONTENT) -->
  74. <table width="100%" cellspacing="0" cellpadding="0" border="0">
  75. <tr>
  76. <!-- THE SIDE BAR -->
  77. <td width="120" valign="top" align="left">
  78. <img width="120" height="14" src="resources/join.gif" hspace="0" vspace="0" border="0"/><br/>
  79. <xsl:apply-templates select="document($stylebook.project)"/>
  80. <img width="120" height="14" src="resources/close.gif" hspace="0" vspace="0" border="0"/><br/>
  81. </td>
  82. <!-- THE CONTENT PANEL -->
  83. <td width="*" valign="top" align="left">
  84. <table border="0" cellspacing="0" cellpadding="3">
  85. <tr><td><br/><xsl:apply-templates/></td></tr>
  86. </table>
  87. </td>
  88. </tr>
  89. </table>
  90. <br/>
  91. <table width="100%" border="0" cellspacing="0" cellpadding="0">
  92. <tr><td bgcolor="#0086b2"><img src="images/dot.gif" width="1" height="1"/></td></tr>
  93. <tr>
  94. <td align="center"><font face="arial,helvetica,sanserif" size="-1" color="#0086b2"><i>
  95. Copyright &#169; <xsl:value-of select="$copyright"/>.
  96. All Rights Reserved.
  97. </i></font></td>
  98. </tr>
  99. </table>
  100. </body>
  101. </html>
  102. </xsl:if>
  103. <xsl:if test="book">
  104. <xsl:apply-templates/>
  105. </xsl:if>
  106. </xsl:template>
  107. <!-- ====================================================================== -->
  108. <!-- book section -->
  109. <!-- ====================================================================== -->
  110. <xsl:template match="page|faqs|changes|todo|spec">
  111. <xsl:if test="@id=$id">
  112. <img src="graphics/{@id}-label-1.jpg" width="120" height="12" hspace="0" vspace="0" border="0" alt="{@label}"/>
  113. </xsl:if>
  114. <xsl:if test="@id!=$id">
  115. <a href="{@id}.html" onMouseOver="rolloverOn('side-{@id}');" onMouseOut="rolloverOff('side-{@id}');">
  116. <img onLoad="rolloverLoad('side-{@id}','graphics/{@id}-label-2.jpg','graphics/{@id}-label-3.jpg');"
  117. name="side-{@id}" src="graphics/{@id}-label-3.jpg" width="120" height="12" hspace="0" vspace="0" border="0" alt="{@label}"/>
  118. </a>
  119. </xsl:if>
  120. <br/>
  121. </xsl:template>
  122. <xsl:template match="external">
  123. <xsl:variable name="extid" select="concat('ext-',position())"/>
  124. <a href="{@href}" onMouseOver="rolloverOn('side-{$extid}');" onMouseOut="rolloverOff('side-{$extid}');">
  125. <img onLoad="rolloverLoad('side-{$extid}','graphics/{$extid}-label-2.jpg','graphics/{$extid}-label-3.jpg');"
  126. name="side-{$extid}" src="graphics/{$extid}-label-3.jpg" width="120" height="12" hspace="0" vspace="0" border="0" alt="{@label}"/>
  127. </a>
  128. <br/>
  129. </xsl:template>
  130. <xsl:template match="separator">
  131. <img src="resources/separator.gif" width="120" height="6" hspace="0" vspace="0" border="0"/><br/>
  132. </xsl:template>
  133. <!-- ====================================================================== -->
  134. <!-- header section -->
  135. <!-- ====================================================================== -->
  136. <xsl:template match="header">
  137. <!-- ignore on general document -->
  138. </xsl:template>
  139. <!-- ====================================================================== -->
  140. <!-- body section -->
  141. <!-- ====================================================================== -->
  142. <xsl:template match="s1">
  143. <div align="right">
  144. <table border="0" width="98%" cellspacing="0" cellpadding="0">
  145. <tr>
  146. <td width="9" height="7" valign="bottom" align="right"><img src="resources/bar-top-left.gif" width="9" height="7" vspace="0" hspace="0" border="0"/></td>
  147. <td background="resources/bar-border-top.gif"><img src="resources/void.gif" width="1" height="5" vspace="0" hspace="0" border="0"/></td>
  148. <td width="9" height="7" valign="bottom" align="left"><img src="resources/bar-top-right.gif" width="9" height="7" vspace="0" hspace="0" border="0"/></td>
  149. </tr>
  150. <tr>
  151. <td width="9" background="resources/bar-border-left.gif"><img src="resources/void.gif" width="9" height="1" vspace="0" hspace="0" border="0"/></td>
  152. <td width="100%" bgcolor="#0086b2">
  153. <font size="+1" face="arial,helvetica,sanserif" color="#ffffff">
  154. <img src="resources/void.gif" width="5" height="5" vspace="0" hspace="0" border="0"/><b><xsl:value-of select="@title"/></b></font>
  155. </td>
  156. <td width="9" background="resources/bar-border-right.gif"><img src="resources/void.gif" width="9" height="1" vspace="0" hspace="0" border="0"/></td>
  157. </tr>
  158. <tr>
  159. <td width="9" height="12" valign="top" align="right"><img src="resources/bar-bottom-left.gif" width="9" height="12" vspace="0" hspace="0" border="0"/></td>
  160. <td background="resources/bar-border-bottom.gif"><img src="resources/void.gif" height="12" vspace="0" hspace="0" border="0"/></td>
  161. <td width="9" height="12" valign="top" align="left"><img src="resources/bar-bottom-right.gif" width="9" height="12" vspace="0" hspace="0" border="0"/></td>
  162. </tr>
  163. </table>
  164. <table border="0" width="98%" cellspacing="0" cellpadding="0">
  165. <tr>
  166. <td>
  167. <font face="arial,helvetica,sanserif" color="#000000"><xsl:apply-templates/></font>
  168. </td>
  169. </tr>
  170. </table>
  171. </div>
  172. <br/>
  173. </xsl:template>
  174. <xsl:template match="s2">
  175. <div align="right">
  176. <table border="0" width="95%" cellspacing="0" cellpadding="0">
  177. <tr>
  178. <td width="9" height="7" valign="bottom" align="right"><img src="resources/bar-top-left.gif" width="9" height="7" vspace="0" hspace="0" border="0"/></td>
  179. <td background="resources/bar-border-top.gif"><img src="resources/void.gif" width="1" height="5" vspace="0" hspace="0" border="0"/></td>
  180. <td width="9" height="7" valign="bottom" align="left"><img src="resources/bar-top-right.gif" width="9" height="7" vspace="0" hspace="0" border="0"/></td>
  181. </tr>
  182. <tr>
  183. <td width="9" background="resources/bar-border-left.gif"><img src="resources/void.gif" width="9" height="1" vspace="0" hspace="0" border="0"/></td>
  184. <td width="100%" bgcolor="#0086b2">
  185. <font face="arial,helvetica,sanserif" color="#ffffff">
  186. <img src="resources/void.gif" width="5" height="5" vspace="0" hspace="0" border="0"/><b><xsl:value-of select="@title"/></b></font>
  187. </td>
  188. <td width="9" background="resources/bar-border-right.gif"><img src="resources/void.gif" width="9" height="1" vspace="0" hspace="0" border="0"/></td>
  189. </tr>
  190. <tr>
  191. <td width="9" height="12" valign="top" align="right"><img src="resources/bar-bottom-left.gif" width="9" height="12" vspace="0" hspace="0" border="0"/></td>
  192. <td background="resources/bar-border-bottom.gif"><img src="resources/void.gif" width="1" height="12" vspace="0" hspace="0" border="0"/></td>
  193. <td width="9" height="12" valign="top" align="left"><img src="resources/bar-bottom-right.gif" width="9" height="12" vspace="0" hspace="0" border="0"/></td>
  194. </tr>
  195. </table>
  196. <table border="0" width="95%" cellspacing="0" cellpadding="0">
  197. <tr>
  198. <td>
  199. <font face="arial,helvetica,sanserif" color="#000000"><xsl:apply-templates/></font>
  200. </td>
  201. </tr>
  202. </table>
  203. </div>
  204. <br/>
  205. </xsl:template>
  206. <xsl:template match="s3">
  207. <div align="right">
  208. <table border="0" width="90%" cellspacing="0" cellpadding="0">
  209. <tr>
  210. <td width="9" height="7" valign="bottom" align="right"><img src="resources/bar-top-left.gif" width="9" height="7" vspace="0" hspace="0" border="0"/></td>
  211. <td background="resources/bar-border-top.gif"><img src="resources/void.gif" width="1" height="5" vspace="0" hspace="0" border="0"/></td>
  212. <td width="9" height="7" valign="bottom" align="left"><img src="resources/bar-top-right.gif" width="9" height="7" vspace="0" hspace="0" border="0"/></td>
  213. </tr>
  214. <tr>
  215. <td width="9" background="resources/bar-border-left.gif"><img src="resources/void.gif" width="9" height="1" vspace="0" hspace="0" border="0"/></td>
  216. <td width="100%" bgcolor="#0086b2">
  217. <font size="-1" face="arial,helvetica,sanserif" color="#ffffff">
  218. <img src="resources/void.gif" width="5" height="5" vspace="0" hspace="0" border="0"/><b><xsl:value-of select="@title"/></b></font>
  219. </td>
  220. <td width="9" background="resources/bar-border-right.gif"><img src="resources/void.gif" width="9" height="1" vspace="0" hspace="0" border="0"/></td>
  221. </tr>
  222. <tr>
  223. <td width="9" height="12" valign="top" align="right"><img src="resources/bar-bottom-left.gif" width="9" height="12" vspace="0" hspace="0" border="0"/></td>
  224. <td background="resources/bar-border-bottom.gif"><img src="resources/void.gif" width="1" height="12" vspace="0" hspace="0" border="0"/></td>
  225. <td width="9" height="12" valign="top" align="left"><img src="resources/bar-bottom-right.gif" width="9" height="12" vspace="0" hspace="0" border="0"/></td>
  226. </tr>
  227. </table>
  228. <table border="0" width="90%" cellspacing="0" cellpadding="0">
  229. <tr>
  230. <td>
  231. <font face="arial,helvetica,sanserif" color="#000000"><xsl:apply-templates/></font>
  232. </td>
  233. </tr>
  234. </table>
  235. </div>
  236. <br/>
  237. </xsl:template>
  238. <xsl:template match="s4">
  239. <div align="right">
  240. <table border="0" width="85%" cellspacing="0" cellpadding="0">
  241. <tr>
  242. <td width="9" height="7" valign="bottom" align="right"><img src="resources/bar-top-left.gif" width="9" height="7" vspace="0" hspace="0" border="0"/></td>
  243. <td background="resources/bar-border-top.gif"><img src="resources/void.gif" width="1" height="5" vspace="0" hspace="0" border="0"/></td>
  244. <td width="9" height="7" valign="bottom" align="left"><img src="resources/bar-top-right.gif" width="9" height="7" vspace="0" hspace="0" border="0"/></td>
  245. </tr>
  246. <tr>
  247. <td width="9" background="resources/bar-border-left.gif"><img src="resources/void.gif" width="9" height="1" vspace="0" hspace="0" border="0"/></td>
  248. <td width="100%" bgcolor="#0086b2">
  249. <font size="-2" face="arial,helvetica,sanserif" color="#ffffff">
  250. <img src="resources/void.gif" width="5" height="5" vspace="0" hspace="0" border="0"/><b><xsl:value-of select="@title"/></b></font>
  251. </td>
  252. <td width="9" background="resources/bar-border-right.gif"><img src="resources/void.gif" width="9" height="1" vspace="0" hspace="0" border="0"/></td>
  253. </tr>
  254. <tr>
  255. <td width="9" height="12" valign="top" align="right"><img src="resources/bar-bottom-left.gif" width="9" height="12" vspace="0" hspace="0" border="0"/></td>
  256. <td background="resources/bar-border-bottom.gif"><img src="resources/void.gif" width="1" height="12" vspace="0" hspace="0" border="0"/></td>
  257. <td width="9" height="12" valign="top" align="left"><img src="resources/bar-bottom-right.gif" width="9" height="12" vspace="0" hspace="0" border="0"/></td>
  258. </tr>
  259. </table>
  260. <table border="0" width="85%" cellspacing="0" cellpadding="0">
  261. <tr>
  262. <td>
  263. <font face="arial,helvetica,sanserif" color="#000000"><xsl:apply-templates/></font>
  264. </td>
  265. </tr>
  266. </table>
  267. </div>
  268. <br/>
  269. </xsl:template>
  270. <!-- ====================================================================== -->
  271. <!-- footer section -->
  272. <!-- ====================================================================== -->
  273. <xsl:template match="footer">
  274. <!-- ignore on general documents -->
  275. </xsl:template>
  276. <!-- ====================================================================== -->
  277. <!-- paragraph section -->
  278. <!-- ====================================================================== -->
  279. <xsl:template match="p">
  280. <p align="left"><xsl:apply-templates/></p>
  281. </xsl:template>
  282. <xsl:template match="note">
  283. <p>
  284. <table width="100%" cellspacing="3" cellpadding="0" border="0">
  285. <tr>
  286. <td width="28" valign="top">
  287. <img src="resources/note.gif" width="28" height="29" vspace="0" hspace="0" border="0" alt="Note"/>
  288. </td>
  289. <td valign="top">
  290. <font size="-1" face="arial,helvetica,sanserif" color="#000000">
  291. <i>
  292. <xsl:apply-templates/>
  293. </i>
  294. </font>
  295. </td>
  296. </tr>
  297. </table>
  298. </p>
  299. </xsl:template>
  300. <xsl:template match="source">
  301. <div align="center">
  302. <table cellspacing="4" cellpadding="0" border="0">
  303. <tr>
  304. <td bgcolor="#0086b2" width="1" height="1"><img src="resources/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/></td>
  305. <td bgcolor="#0086b2" height="1"><img src="resources/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/></td>
  306. <td bgcolor="#0086b2" width="1" height="1"><img src="resources/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/></td>
  307. </tr>
  308. <tr>
  309. <td bgcolor="#0086b2" width="1"><img src="resources/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/></td>
  310. <td bgcolor="#ffffff"><pre><xsl:apply-templates/></pre></td>
  311. <td bgcolor="#0086b2" width="1"><img src="resources/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/></td>
  312. </tr>
  313. <tr>
  314. <td bgcolor="#0086b2" width="1" height="1"><img src="resources/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/></td>
  315. <td bgcolor="#0086b2" height="1"><img src="resources/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/></td>
  316. <td bgcolor="#0086b2" width="1" height="1"><img src="resources/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/></td>
  317. </tr>
  318. </table>
  319. </div>
  320. </xsl:template>
  321. <xsl:template match="fixme">
  322. <!-- ignore on documentation -->
  323. </xsl:template>
  324. <!-- ====================================================================== -->
  325. <!-- list section -->
  326. <!-- ====================================================================== -->
  327. <xsl:template match="ul|ol|dl">
  328. <blockquote>
  329. <xsl:copy>
  330. <xsl:apply-templates/>
  331. </xsl:copy>
  332. </blockquote>
  333. </xsl:template>
  334. <xsl:template match="li">
  335. <xsl:copy>
  336. <xsl:apply-templates/>
  337. </xsl:copy>
  338. </xsl:template>
  339. <xsl:template match="sl">
  340. <ul>
  341. <xsl:apply-templates/>
  342. </ul>
  343. </xsl:template>
  344. <xsl:template match="dt">
  345. <li>
  346. <strong><xsl:value-of select="."/></strong>
  347. <xsl:text> - </xsl:text>
  348. <xsl:apply-templates select="dd"/>
  349. </li>
  350. </xsl:template>
  351. <!-- ====================================================================== -->
  352. <!-- table section -->
  353. <!-- ====================================================================== -->
  354. <xsl:template match="table">
  355. <table width="100%" border="0" cellspacing="2" cellpadding="2">
  356. <caption><xsl:value-of select="caption"/></caption>
  357. <xsl:apply-templates/>
  358. </table>
  359. </xsl:template>
  360. <xsl:template match="tr">
  361. <tr><xsl:apply-templates/></tr>
  362. </xsl:template>
  363. <xsl:template match="th">
  364. <td bgcolor="#039acc" colspan="{@colspan}" rowspan="{@rowspan}" valign="center" align="center">
  365. <font color="#ffffff" size="-1" face="arial,helvetica,sanserif">
  366. <b><xsl:apply-templates/></b>&#160;
  367. </font>
  368. </td>
  369. </xsl:template>
  370. <xsl:template match="td">
  371. <td bgcolor="#a0ddf0" colspan="{@colspan}" rowspan="{@rowspan}" valign="top" align="left">
  372. <font color="#000000" size="-1" face="arial,helvetica,sanserif">
  373. <xsl:apply-templates/>&#160;
  374. </font>
  375. </td>
  376. </xsl:template>
  377. <xsl:template match="tn">
  378. <td bgcolor="#ffffff" colspan="{@colspan}" rowspan="{@rowspan}">
  379. &#160;
  380. </td>
  381. </xsl:template>
  382. <xsl:template match="caption">
  383. <!-- ignore since already used -->
  384. </xsl:template>
  385. <!-- ====================================================================== -->
  386. <!-- markup section -->
  387. <!-- ====================================================================== -->
  388. <xsl:template match="strong">
  389. <b><xsl:apply-templates/></b>
  390. </xsl:template>
  391. <xsl:template match="em">
  392. <i><xsl:apply-templates/></i>
  393. </xsl:template>
  394. <xsl:template match="code">
  395. <code><font face="courier, monospaced"><xsl:apply-templates/></font></code>
  396. </xsl:template>
  397. <!-- ====================================================================== -->
  398. <!-- images section -->
  399. <!-- ====================================================================== -->
  400. <xsl:template match="figure">
  401. <p align="center"><img src="{@src}" alt="{@alt}" border="0" vspace="4" hspace="4"/></p>
  402. </xsl:template>
  403. <xsl:template match="img">
  404. <img src="{@src}" alt="{@alt}" border="0" vspace="4" hspace="4" align="right"/>
  405. </xsl:template>
  406. <xsl:template match="icon">
  407. <img src="{@src}" alt="{@alt}" border="0" align="absmiddle"/>
  408. </xsl:template>
  409. <!-- ====================================================================== -->
  410. <!-- links section -->
  411. <!-- ====================================================================== -->
  412. <xsl:template match="link">
  413. <a href="{@href}"><xsl:apply-templates/></a>
  414. </xsl:template>
  415. <xsl:template match="connect">
  416. <xsl:apply-templates/>
  417. </xsl:template>
  418. <xsl:template match="jump">
  419. <a href="{@href}#{@anchor}"><xsl:apply-templates/></a>
  420. </xsl:template>
  421. <xsl:template match="fork">
  422. <a href="{@href}" target="_blank"><xsl:apply-templates/></a>
  423. </xsl:template>
  424. <xsl:template match="anchor">
  425. <a name="{@id}"><xsl:comment>anchor</xsl:comment></a>
  426. </xsl:template>
  427. <!-- ====================================================================== -->
  428. <!-- specials section -->
  429. <!-- ====================================================================== -->
  430. <xsl:template match="br">
  431. <br/>
  432. </xsl:template>
  433. </xsl:stylesheet>