Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
HXTABLETRANS(1) 		 HTML-XML-utils 		 HXTABLETRANS(1)

NAME
     hxtabletrans - transpose an HTML or XHTML table

SYNOPSIS
     hxtabletrans [ -c ] [ -x ] [ -v ] [ file-or-URL ]

DESCRIPTION
     hxtabletrans  reads  an  HTML  or XHTML file (or fragment), finds the first
     <table> element and outputs that element with the rows and  columns  trans-
     posed. I.e., rows become columns and columns become rows.

     Any  grouping  of	rows with <thead>, <tbody> or <tfoot> is lost. Also, any
     comments outside the cells are lost.

OPTIONS
     The following options are supported:

     -c        Also try to transpose the contents of cells. If a  cell	consists
	       only  of  horizontal  or vertical arrows and ellipses (apart from
	       mark-up and whitespace), then those arrows and ellipses	are  re-
	       placed  by their transposed counterparts. E.g., a right arrow be-
	       comes a down arrow.

     -x        Use XML syntax. Empty elements are written with a  slash  (/)  at
	       the end, e.g.: <br/>

     -v        Print the version number and exit.

BUGS
     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.

     Nested tables are not transposed.

7.x				   10 Jul 2011			 HXTABLETRANS(1)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=hxtabletrans&sektion=1&manpath=FreeBSD+Ports+15.1.quarterly>

home | help