W3C home > Mailing lists > Public > html-tidy@w3.org > January to March 2004

Using tidy to convert from transitional XHTML to strict XHTML

From: Leonard Armstrong <LArmstrong@NBME.org>
Date: Wed, 25 Feb 2004 13:12:39 -0500
Message-ID: <855847D6DF61B2409DB29770BE61A11E0228BA26@exchange2.nbme.org>
To: <html-tidy@w3.org>
Can tidy be used to alter transitional XHTML into valid strict HTML? My
current focus is on the allowable child elements of the <body> tag. I have a
transitional input file with <a> and <br> tags as children of <body>. When I
run tidy with "output-xhtml: true" and "doctype: strict" in my config file,
it does indeed output a strict XHTML DOCTYPE declaration, but it still leaves
the <a> and <br> tags as direct children of the <body> tag.


Am I trying to use Tidy in a manner for which it is not intended?





Leonard T. Armstrong
Senior Software Engineer
National Board of Medical Examiners <http://www.nbme.org/> 
E-mail: larmstrong@nbme.org
<mailto:larmstrong@nbme.orgPhone> Phone: 215-590-9623

Received on Wednesday, 25 February 2004 13:13:25 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:38:54 UTC