Table of Contents
--auto Generate a small document for testing purposes.
$ xmllint --auto <?xml version="1.0"?> <info>abc</info>
--htmlout
Output results as an HTML file. This causes xmllint to output
the necessary HTML tags surrounding the result tree output so
the results can be displayed/viewed in a browser. $ xmllint --auto | xmllint --htmlout -
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
"http://www.w3.org/TR/REC-html40/loose.dtd">
<html><head><title>xmllint output</title></head>
<body bgcolor="#ffffff"><h1 align="center">xmllint output</h1>
<?xml version="1.0"?>
<info>abc</info>
</body></html>