PgmEdit - Tidy HTML/XML Dialog Fields |
The PgmEdit Tidy tool can be used to check for errors in HTML or XML files
in one or more HTML/XML files.
It provides an error checking interface to the latest version of
the HTACG/W3C HTML Tidy console application.
Sections 1-3 below describe the fields and check-boxes of the Tidy dialog window. Note that the Tidy "File filter" and "Folder" behave the same as the File Find/File Replace File filter and Folder.
1. File filter - File spec/Wildcards * ?
The "File filter" field is used to limit which files are tested.
Wildcard characters "?" and "*" can be used:
"?" matches exactly one character, while "*" matches 0 or more characters.
For example * or *.* will test all files in the Folder specified, while *.html will only test HTML files.
Multiple File filters - *.html | *.htm
Two or more File filters can be specified by separating each filter with character number 124 "|".
For example *.html|*.htm (or *.html | *.htm) will test all files having the extension .html or .htm .
File filter including Folder - C:\SupportFiles\*.html
The File filter can include the directory of the file:
For example C:\SupportFiles\*.html will test *.html files in the C:\SupportFiles folder.
For this Filter, the Folder field is not used, although the Folder field must contain a valid path such as "." (current/working directory) or the path used for any other Filters that do not include a directory.
2. Folder - Directory path & name
The Folder field specifies which directory will contain the HTML/XML files.
3. CheckBox Options
input-xml - If "input-xml" is checked, then Tidy will use the XML parser instead of the HTML parser.
show-warnings - If "show-warnings" is checked, then Tidy will report warnings as well as the more serious category called "errors". Note that the Tidy tool will always report "errors".
warning example - If the HTML text includes an "&", "Warning: unescaped & which should be written as &" will be reported.
error example - If an undefined HTML tag such as <px> is found, "Error: <px> is not recognized!" will be reported.
quiet - If "quiet" is checked, the Tidy report will include only error/warning messages - other information such as an errors/warnings summary, links to HTACG/W3C Tidy (current version 5.1.25), and w3.org links will be skipped.