Can be Validator used as conversion from XHTML to HTML5?

Discussion about HTML and XHTML related issues.

Can be Validator used as conversion from XHTML to HTML5?

Postby toplisek » Wed Jan 30, 2013 5:57 am

Can be Validator used as conversion from XHTML to HTML5 or there is better way?
toplisek
Rank 0 - Newcomer
Rank 0 - Newcomer
 
Posts: 1
Joined: Wed Jan 30, 2013 5:05 am

Re: Can be Validator used as conversion from XHTML to HTML5?

Postby Albert Wiersch » Wed Jan 30, 2013 9:24 am

You can always use the validator part of CSE HTML Validator to check the conversion, but not to actually do the conversion.

One option might be to check the document using CSE HTML Validator's support for polyglot. Such documents can be served as XML or plain HTML5. More information is here:
http://www.htmlvalidator.com/htmlval/v1 ... l_node.htm

Another option is to try the Pretty Print & Fix (HTML Tidy) tool and force the output to 'html' and the doctype to 'html5'. Of course you'll need to check that the converted documents still work as you want and that they weren't changed in a way that breaks something.

I hope this helps.
Image
Albert Wiersch
User avatar
Albert Wiersch
Site Admin
Site Admin
 
Posts: 2433
Joined: Sat Dec 11, 2004 10:23 am
Location: Near Dallas, TX


Return to HTML and XHTML

Who is online

Users browsing this forum: No registered users and 1 guest