[xml] 2.4.12: xmllint --htmlout



Hiya,

I've not used this much, but felt that the documentation in doc.html looked
untidy and wanted to tidy it up a little and experiment at the same time.

I did the following :

--8<--------
*xmllint --html --htmlout libxml-catalog.html > libxml-catalog/htmlb
<!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>
libxml-catalog.html:299: error: Tag gtkdoclink invalid
FILE</GTKDOCLINK
^
libxml-catalog.html:336: error: Tag gtkdoclink invalid
FILE</GTKDOCLINK
^
libxml-catalog.html:1755: error: Tag gtkdoclink invalid
FILE</GTKDOCLINK
^
libxml-catalog.html:2200: error: Tag gtkdoclink invalid
FILE</GTKDOCLINK
^
</body></html>
--8<--------

The --htmlout didn't do what I expected (I expected it to make the output
from the parser HTML, but I understand what it's doing and why I was wrong).
But the interesting thing is that if it's meant to be outputting the results
as HTML, the < and > should be &lt; and &gt; rather than included raw - the
results will not appear correctly in HTML otherwise. The whole block probably
also wants to be enclosed in a <pre>, as well.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]