[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
HTML Table Validator ?
Hi,
in our xml documents we use tables according to the HTML table model. (like
in the sample below)
Here we have problems with "logical incorrect tables"
This means these documents are XML correct (they parse succesfully) but they
are not displayable - or look strange
because e.g. rowspan or colspan attributes are set incorrect.
In our case this leads to problems if we try to generate MIF files from
these documents.
What we are looking for is a utility or library/source code which is able to
check these tables to be logical correct.
As this should be a common problem i am hoping that solutions already exist.
Happy about any hint
Michael
<?xml version='1.0'?>
<topic>
<metalist>
<meta name="Generator" value="SCHEMA MarkupKit 2.0"/>
</metalist>
<mtable>
<table hsdl-percent="12.8 48.7 14.0 8.9 6.4 8.9" type="t_TDv" border="1">
<thead>
<tr>
<th></th>
<th><p><b>Ausführung</b></p></th>
<th><p><b>Bestell-Nr.</b></p></th>
<th><p>Preis €<br/>netto<br/>1 Stück</p></th>
<th><p><b>PG</b></p></th>
<th><p><b>VPE</b><br/><br/><b>Stück</b></p></th>
</tr>
</thead>
<tbody>
<tr>
<td colspan="6"><p
type="tab_f_03"><em>Ergänzungsgeräte</em></p></td>
</tr>
<tr>
<td></td>
<td><p><b>Allgemeine Angaben:</b><br/>für Einzelgeräte und
Kombinationen<br/>für Schraub- und Krallenbefestigung<br/>Schutzart: IP
20<br/>Abdeckplatten: 55 mm x 55 mm</p></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td rowspan="4"><p>(( Foto ??? ))</p></td>
<td><p><b>Blindplatte</b></p></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td>
<ul type="ul1">
<li>titanweiss (RAL 9010)</li>
</ul>
</td>
<td><bestnr>5TG2 558</bestnr></td>
<td></td>
<td></td>
<td><p>5</p></td>
</tr>
<tr>
<td>
<ul type="ul1">
<li>aluminiummetallic (ähnlich RAL 9006)</li>
</ul>
</td>
<td><bestnr>5TG1 250</bestnr></td>
<td></td>
<td></td>
<td><p>5</p></td>
</tr>
<tr>
<td>
<ul type="ul1">
<li>carbonmetallic (ähnlich RAL 7016)</li>
</ul>
</td>
<td><bestnr>5TG1 220</bestnr></td>
<td></td>
<td></td>
<td><p>5</p></td>
</tr>
<tr>
<td rowspan="4"><p>(( Foto ??? ))</p></td>
<td><p><b>Auslassplatte</b></p></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
</tbody>
</table>
</mtable>
</topic>