Creating and Editing HTML Tidy Profiles

The tidyprofiles.xml file contains HTML Tidy profiles that are used to configure HTML Tidy when it is used with the HTML Tidy Tool in CSS HTML Validator. The tidyprofiles.xml file is usually located in a folder like C:\Users\(username)\AppData\Roaming\AI Internet Solutions\CSE HTML Validator\19.0 .

By editing this file, you can create multiple profiles with different command line parameters. This mechanism provides a high level of control over HTML Tidy, letting you control all possible options. When using and configuring HTML Tidy in CSS HTML Validator, you can easily choose from the available profiles specified in tidyprofiles.xml.

NOTE: HTML Tidy profiles are all contained in the tidyprofiles.xml file. Each profile does not have a separate file.

To create a new HTML Tidy profile, edit tidyprofiles.xml and add a new "profile" tag in the "tidyprofiles" section. When adding a new "profile" tag:

Do not use the same profile name for more than one profile. Profile names are case-sensitive.

The "args" attribute lets you specify with what command line parameters HTML Tidy is called. See the HTML Tidy Quick Reference Page (new window) for what's available.

Use an optional "hint" attribute to describe the profile.

To easily edit this file, choose Options->Validator Engine Options->Edit Configuration Files->HTML Tidy Profiles in the editor.

hmtoggle_plus1Example tidyprofiles.xml file

See also: HTML Tidy Links