Disabling the automatic HTML template prettify function

When link tracking is enabled for the HTML body section, XMLDelivery attempts to generate valid XHMTL, by automatically carrying out an HTML code prettify operation on any HTML it finds in the XML instructions file.

Example:

    <p><br><a href="http://www.example.com">Description</a>

becomes:

    <p><br /><a href="http://www.example.com">Description</a></p>

Use

If you do not want XMLDelivery to carry out the prettify operation when HTML link tracking is activated, do the following:

  • Set prettyprint enabled to "false" in the preferences element of the HTML body section

Example:

    <body>
    <html>
      ....
      <preferences>
            <stats>
              <links>parse</links>
              <prettyprint enabled="false">
            </stats>
      </preferences>

The default value is "true".

This option does not affect:

Next page:

Disabling the automatic HTML-entity unescape function


Also see: