Use the "Apply XML Formatting Rules" to automatically take an HTML page and reformat its HTML tags to make them XML-compliant. This is especially useful when you need your pages to interact with an XML-based publishing system because the rules governing the syntax of XML tags are stricter than those for HTML. A missing tag or incorrectly formatted attribute in an XML document renders the file useless.
When you select the Apply XML formatting rules option, Microsoft FrontPageĀ® version 2002 searches the XML code for missing or incomplete tags and applies the correct tags.
To apply XML Formatting Rules to a Web page, open it in FrontPage 2002 and do the following:
- In Page view, click the HTML button
- In the HTML pane, right-click anywhere on the page.
- Select Apply XML formatting rules.
Tip: If you apply XML formatting to a document formatted to exclude selected ending tags (for example, the </P> tag), those tags will likely be applied by this feature.
More information
For more information about reformatting HTML pages to make them XML-compatible, see Microsoft FrontPage 2002 Help.