This changes the accuracy of the internal XML format of the path description.

java -jar library/saxon6.jar  -o t5.xml  t4.xml library/change_accuracy.xsl decplaces=1

The parameter decplaces defines the number of decimal places in the output file. XSLT has the tendency to keep internal values to a high level of accuracy. In consequence some of the path_ology transformations cause the file size to increase dramatically. Using this transformation may be necessary to keep the file size reasonable.

The possible values for the parameter decplaces are -3, -2, -1, 0, 1, 2, and 3. Reducing the accuracy can also change the effect some of the other transformations

In the example below, the same logo is shown at different accuracies. The file size decreases significantly yet, until the last change, there is no discernible difference in the logos.

No SVG Support

Figure 16.1: Changing Accuracy