Thursday, August 14, 2003, 2:48:50 PM, Bjoern wrote: > * Tim Fountain wrote: >>>> The output needs to be XHTML strict, however despite the doctype >>>> in the content and me setting the doctype in the tidy >>>> configuration file, the resulting output seems to be XHTML >>>> transitional. >> >>> Your document contains elements that do not conform to Strict, and >>> Tidy is preserving them and adjusting the Doctype to suit. >> >>> The only other option would be to discard the non-Strict tags and >>> attributes (since there's no general way to transform them into >>> Strict ones). >> >> Discarding them would be fine, is there any way I can get Tidy to >> do this? > --drop-proprietary-attributes yes as a start. Thanks, that drops the non-standard attributes which will help for some of the other input files. However in this sample file the attributes _are_ standard (color, face etc.), just not for this particular HTML version. Is there no way to get Tidy to drop these? -- Tim Fountain | Web developer | Incutio Limited | www.incutio.com email: tim@incutio.com | Tel: +44 8708 700 333 | Fax: +44 7092 181 581Received on Thursday, 14 August 2003 10:41:35 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:37:54 GMT