From: John Cowan (email@example.com)
Date: Wed Jun 16 2004 - 23:46:31 CDT
Edward H. Trager scripsit:
> What about vim (vi clone: http://www.vim.org). I just converted
> a very large UTF-8-encoded HTML document (more than 15000
> lines) to standards-compliant XHTML-1.0 and found the advanced
> regular-expression-based substitution facilities in vi(m) absolutely
> indispensible for adding all of the closing tags that XML requires
> which were missing in my original document.
HTML Tidy or TagSoup would probably have served you better, rather than
groveling over the code bit by bit. (HTML Tidy can do more cleaning,
but it sometimes loops or delivers garbage if the HTML is sufficiently
broken. TagSoup never gives up and never loops, but doesn't know
as much about HTML.)
-- Said Agatha Christie / To E. Philips Oppenheim John Cowan "Who is this Hemingway? / Who is this Proust? firstname.lastname@example.org Who is this Vladimir / Whatchamacallum, http://www.reutershealth.com This neopostrealist / Rabble?" she groused. http://www.ccil.org/cowan --author unknown to me; any suggestions?
This archive was generated by hypermail 2.1.5 : Wed Jun 16 2004 - 23:43:55 CDT