Altova Mailing List Archives>Archive Index >xsl-list Archive Home >Recent entries >Thread Prev - [xsl] removing unecessary attributes [Thread Next] Re: [xsl] removing unecessary attributesTo: Date: 4/1/2008 6:19:00 PM 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 | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
