blob: 654c5ddf6e1ebe9fcacbc5e94fdf28ee9aedb64d [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<html xmlns:osm="http://osmosis.gr/osml/1.0">
<head>
<osm:pageTitle>
<osm:text>XHTML Example</osm:text>
</osm:pageTitle>
</head>
<body contentID="content">
<p class="title">XHTML Example</p>
<p>This page is created using simple XHTML markup from a .xhtml file.</p>
<p>For a request for example: "http://.../TestPage" generator look for TestPage.xml to get content. If TestPage.xml does not exits then generator look for TestPage.xhtml. If .xhtml file exist then content inside elements with contentID attribute is used and placed in the right place in template.</p>
<p>Look at main.xhtml template file for<![CDATA[ <osm:content-copy select="content"/>]]></p>
<p class="paratitle">Table</p>
<table>
<tr>
<th>col1</th>
<th>col2</th>
<th>col3</th>
</tr>
<tr>
<td>a</td>
<td>b</td>
<td>c</td>
</tr>
<tr>
<td>d</td>
<td>e</td>
<td>f</td>
</tr>
</table>
</body>
</html>