SYNTAX
html2xhtml [ filename ] [ options ]
DESCRIPTION
Html2xhtml is a command-line tool that converts HTML files to XHTML
files. The path of the HTML input file can be provided as a command-
line argument. If not, it is read from stdin.
Xhtml2xhtml tries always to generate valid XHTML files. It is able to
correct many common errors in input HTML files without loose of infor‐
mation. However, for some errors, html2xhtml may decide to loose some
information in order to generate a valid XHTML output. This can be
avoided with the -e option, which allows html2xhtml to generate non-
valid output in these cases.
Html2xhtml can generate the XHTML output compliant to one of the fol‐
lowing document types: XHTML 1.0 (Transitional, Strict and Frameset),
XHTML 1.1, XHTML Basic and XHTML Mobile Profile.
OPTIONS
The command line options/arguments are:
filename Read the HTML input from filename (optional argu‐
ment). If this argument is not provided, the HTML
input is read from standard input.
-c input-encoding Encoding of the input HTML file. Overrides auto‐
matic input encoding detection (please, read the
note about input encodings bellow).
-d default-input-encoding
Default input encoding, if it is not declared in
the input file. By default, ISO-8859-1 (please,
read the note about input encodings bellow).
-e Instructs the program to propagate input chunks to
the output even if it is unable to adapt them to
the output XHTML doctype. Using this option, the
XHTML output may be non-valid. Not using this
option, some input data could be removed from the
output in some [rare] cases.
-t output-doctype Doctype of the output XHTML file. If not specified,
the program selects automatically either XHTML 1.0
Transitional or XHTML 1.0 Frameset depending on the
input. Current available doctypes are:
o transitional XHTML 1.0 Transitional
o frameset XHTML 1.0 Frameset
o strict XHTML 1.0 Strict
o 1.1 XHTML 1.1
o basic XHTML Basic
ACKNOWLEDGMENTS
Program developer up to current version:
Jesus Arias Fisteus <jaf@it.uc3m.es>
The first working version of this program has been developed as
a Master Thesis at the University of Vigo (Spain) [http://www.uvigo.es],
advised by:
Rebeca Diaz Redondo
Ana Fernandez Vilas
Copyright 2000-2007 by Jesus Arias Fisteus, Rebeca Diaz Redondo, Ana
Fernandez Vilas.
html2xhtml(1)
TechZilla.biz | TechZilla.info | SlicerUnderground | techzilla.50megs.com | Tohigherground | NextOnStage | EMUslax | GNUlinx | GamesOfDaPast | WorldCrimeWars | Fistula | Asus-Z81k | Riding-Gear | UniformDiscount | WorkWearIt | NuZilla