.TH "HXTABLETRANS" "1" "10 Jul 2011" "6.x" "HTML-XML-utils"
.SH NAME
hxtabletrans \- transpose an HTML or XHTML table
.SH SYNOPSIS
.B hxtabletrans
.RB "[\| " \-x " \|]"
.RB "[\| " \-v " \|]"
.RI "[\| " file-or-URL " \|]"
.SH DESCRIPTION
.B hxtabletrans
reads an HTML or XHTML file (or fragment), finds the first
element and outputs that element with the rows and columns
transposed. I.e., rows become columns and columns become rows.
.PP
Any grouping of rows with , or is lost. Also,
any comments outside the cells are lost.
.SH OPTIONS
The following options are supported:
.TP 10
.B \-x
Use XML syntax. Empty elements are written with a slash (/) at the
end, e.g.:
.TP
.B \-v
Print the version number and exit.
.SH BUGS
.B hxtabletrans
should check for rows that have fewer cells than the longest row
(taking into account the effect of the colspan and rowspan attributes)
and create the omitted cells, but it currently doesn't. Tables with
rows of unequal length may thus not be transposed correctly.