Andreas Peter schrieb:
Hello list-users,
I have the following file. The problems are the missing quotes for the
attributes values and I need to remove all of the attributes.
$ whatis tidy
tidy (1) - Utility to clean up and pretty print HTML/XHTML/XML
tidy -utf8 -numeric -asxml your.html > your.xml
In addition to the the tidy(1) utility already mentioned by Mukul, you
might want to try xmllint(1), which sometimes works better.
$ whatis xmllint
xmllint (1) - command line XML tool
xmllint --html --xmlout your.html > your.xml
Both are available for Windows, too.
Michael Ludwig
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--