6.1. 你的第一个 RXML 文件

您可以尝试这段代码。这是一个基本的示例,只有四个标签/容器。您应该访问 http://caudium.info/ 并下载 Roxen 1.3 文档。

示例 6-1. 一些简单的 RXML 标签。

<html>
  <comment>You have to put bgcolor for gtext to work properly</comment>
  <body bgcolor="#FFFFFF">
    <h1>Basic RXML examples</h1>
    <table border="1">
      <tr>
        <td>This is a list of all RXML tags</td>
        <td><list-tags></td>
      </tr>
    </table>
    <table border="1">
      <tr>
        <td>Gtext render text as graphic</td>
        <td><gtext scale=0.5>This is a gif/png graphic</gtext></td>
      </tr>
      <tr>
        <td>Last modification of this page</td>
        <td><modified></td>
      </tr>
    </table>
  </body>
</html>