Skip to content

Instantly share code, notes, and snippets.

@eerohele
Created September 25, 2015 06:12
Show Gist options
  • Save eerohele/a34d4f884a5c4e30d35d to your computer and use it in GitHub Desktop.
Save eerohele/a34d4f884a5c4e30d35d to your computer and use it in GitHub Desktop.
dita-ot/dita-ot #2057
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xml:lang="en-us" lang="en-us">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta name="copyright" content="(C) Copyright 2005"/>
<meta name="DC.rights.owner" content="(C) Copyright 2005"/>
<meta name="DC.Type" content="concept"/>
<meta name="DC.Title" content="Table test"/>
<meta name="DC.Format" content="XHTML"/>
<meta name="DC.Identifier" content="D6256"/>
<meta name="DC.Language" content="en-us"/>
<link rel="stylesheet" type="text/css" href="commonltr.css"/>
<title>Table test</title>
</head>
<body id="D6256">
<h1 class="title topictitle1">Table test</h1>
<div class="body conbody">
<p class="p bodytext">This tests how tables are formatted</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" class="table" frame="border" border="1" rules="all">
<thead class="thead" align="left">
<tr class="row" valign="top">
<th class="entry" align="left" valign="top" id="d26e25">Page Content</th>
<th class="entry" align="left" valign="top" id="d26e28">Description</th>
</tr>
</thead>
<tbody class="tbody">
<tr class="row" valign="top">
<td class="entry" align="left" valign="top" headers="d26e25 d26e28 ">Test</td>
<td class="entry" align="left" valign="top" headers="d26e25 d26e28 ">This table has a colspec, but no col
width.</td>
</tr>
<tr class="row" valign="top">
<td class="entry" align="left" valign="top" headers="d26e25 d26e28 ">Parameters</td>
<td class="entry" align="left" valign="top" headers="d26e25 d26e28 ">This table is a child of conbody and has no
classes applied and no surrounding elements.</td>
</tr>
</tbody>
</table>
</div>
<p class="p bodytext">This is an identical table to the first</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" class="table" frame="border" border="1" rules="all">
<thead class="thead" align="left">
<tr class="row" valign="top">
<th class="entry" align="left" valign="top" id="d26e67">ISML Tag</th>
<th class="entry" align="left" valign="top" id="d26e70">Used to...</th>
</tr>
</thead>
<tbody class="tbody">
<tr class="row" valign="top">
<td class="entry" align="left" valign="top" headers="d26e67 d26e70 ">Test</td>
<td class="entry" align="left" valign="top" headers="d26e67 d26e70 ">This table has a colspec, but no col
width.</td>
</tr>
<tr class="row" valign="top">
<td class="entry" align="left" valign="top" headers="d26e67 d26e70 ">Parameters</td>
<td class="entry" align="left" valign="top" headers="d26e67 d26e70 ">This table is a child of conbody and has no
classes applied and no surrounding elements.<em class="ph i">decorator</em>
template.</td>
</tr>
<tr class="row" valign="top">
<td class="entry" align="left" valign="top" headers="d26e67 d26e70 ">Comment</td>
<td class="entry" align="left" valign="top" headers="d26e67 d26e70 ">This table only differs from the first in that
it is the second child of the conbody element</td>
</tr>
</tbody>
</table>
</div>
<p class="p">This table has both colspec and colwidth</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" class="table" frame="border" border="1" rules="all">
<thead class="thead" align="left">
<tr class="row" valign="top">
<th class="entry" align="left" valign="top" width="61.42131979695431%" id="d26e126">Page Content</th>
<th class="entry" align="left" valign="top" width="38.578680203045685%" id="d26e129">Description</th>
</tr>
</thead>
<tbody class="tbody">
<tr class="row" valign="top">
<td class="entry" align="left" valign="top" width="61.42131979695431%" headers="d26e126 ">Test</td>
<td class="entry" align="left" valign="top" width="38.578680203045685%" headers="d26e129 ">This table has a colspec and col
width.</td>
</tr>
<tr class="row" valign="top">
<td class="entry" align="left" valign="top" width="61.42131979695431%" headers="d26e126 ">Parameters</td>
<td class="entry" align="left" valign="top" width="38.578680203045685%" headers="d26e129 ">This table is a child of conbody and has no
classes applied and no surrounding elements.</td>
</tr>
</tbody>
</table>
</div>
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment