W3C home > Mailing lists > Public > html-tidy@w3.org > April to June 2008

Re: Converting html 3.2 to xhtml strict

From: willyredz <info@buymerchant.com>
Date: Sat, 5 Apr 2008 10:14:41 -0700 (PDT)
Message-ID: <16515752.post@talk.nabble.com>
To: html-tidy@w3.org

Hi how do I download tidy & use it for my website template that I already
have? I am very limited with knowledge. Do I need to download it a special
way & how do I put my pages that I want to check in there?

Arnaud Desitter-2 wrote:
> 
> 
> tidy cannot "convert" to strict mode. It can do some amount of clean up
> but
> there are some transitional code that will not be converted.
> Regards,
> 
> On 09/03/2008, J and T <j_and_t@hotmail.com> wrote:
>>
>>
>> Is it possible to convert from standard HTML 3.2 to xhtml 1.0 strict?
>> I've tried every tidy configuration I can think of. It spits out the
>> xhtml strict 1.0 doctype header, makes a bunch of changes like  , but not
>> one single page out of 2,000 will validate with w3 validator. Each page
>> has 100 or more reported errors. Example errors:
>>
>> Line 38, Column 17: there is no attribute "background".
>>
>>
>> Line 39, Column 24: document type does not allow element "a" here;
>>
>>
>> Line 43, Column 16: there is no attribute "width".
>>
>>
>> Maybe I'm hoping for a miracle and this conversion just isn't going to be
>> possible. Obviously there are things in the HTML like the background body
>> image that wouldn't be possible to convert so tidy leaves it alone. But
>> maybe there is a way to convert and then give a list of things which 
>> need to be changed in order to validate or ?
>>
>> I should note that I have no problem converting from HTML 3.2 to XHTML
>> Transitional. But I'm not able to go from XHTML Transitional to strict
>> with anything.
>>
>> Hope this isn't a stupid question,
>> John
>> _________________________________________________________________
>> Climb to the top of the charts! Play the word scramble challenge with
>> star power.
>> http://club.live.com/star_shuffle.aspx?icid=starshuffle_wlmailtextlink_jan
>>
> 
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Converting-html-3.2-to-xhtml-strict-tp15931763p16515752.html
Sent from the w3.org - html-tidy mailing list archive at Nabble.com.
Received on Sunday, 6 April 2008 17:49:34 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 3 April 2012 06:13:59 GMT