Options - Module Settings - XML Diff - Engine

 

XML Differencing is available only in Stylus Studio XML Professional Edition.

You use the Engine page of the Options dialog box to change default settings that affect how Stylus Studio diffs XML files.

Note

 

The settings on this page do not affect how Stylus Studio diffs folders.

Fields

General

The fields in the General group box affect when the Stylus Studio diffing engine runs and basic document handling behavior.

    • Automatically expand all diffs - By default, Stylus Studio collapses the display of the diffed documents. If you select this option, all nodes containing diffs are expanded automatically when the diff is run.
    • Collapse unchanged blocks - By default, Stylus Studio collapses any block that does not contain any changes to save space in the XML Diff Viewer window. You might prefer to have the entire document structure visible, to provide context for changed nodes, for example.
    • Autorun diff - By default, Stylus Studio runs the diff operation if you make a change to one of the settings on the Engine page of the Options dialog box, or if you add a new source document or change the current target document. You can also specify that the diff should be calculated automatically whenever a source or target file changes - if you select If files modified, Stylus Studio runs the diff operation when it detects changes to a source or target document.

Engine Options

The fields in the Engine Options group box affect how Stylus Studio diffs files.

    • Use URI to compare namespaces - Controls whether or not URIs are used when comparing namespaces in source and target documents.
    • Expand entity references - Controls whether or not entity references, which in some cases can include files external to the source or target document, are expanded by the Stylus Studio diff engine.
    • Ignore text formatting characters - Controls whether or not text formatting characters are used when comparing source and target documents. This option is off by default.
    • Show differences in - Provides granular control of what components of an XML document are diffed. There are separate controls for comments, text, entities, attributes, and processing instructions.

Performance

Diffing large, numerous, or complex documents can be time-consuming. Stylus Studio provides controls that let you choose between diffing algorithms that have been optimized for time and thoroughness.

    • Autodetect - Stylus Studio determines which algorithm tuning to use based on the number, content, complexity, and size of the source and target documents. Stylus Studio first tries to use the tuning that is optimized for change description; if it determines that processing resources are limited, it reverts to the algorithm tuning optimized for speed. This setting is on by default.
    • Optimize change description - Provides the most economical set of changes possible. This calculation, though it yields the best results, can be costly in terms of time and processing resources.
    • Optimize calculation time - Provides the set of changes in the shortest time possible.
    • Optimize for large documents with few changes - Helps speed the diffing of large (greater than 1MB) documents. This setting can be used in conjunction with any of the algorithm tuning settings and is on by default.
How Options are related to the menu and toolbar

Settings on the Engine Options page of the Options dialog box affect the default settings for both the XML Diff menu and toolbar in the XML Diff editor. You can override settings on the Engine Options page using the menu or the toolbar. To permanently change a setting, however, make the change on the Engine Options page.

For More Information

Specifying Stylus Studio Options

Diffing Folders and XML Documents

XML Spell Checker

The Stylus Studio Spell Checker is integrated with our intuitive XML Text Editor. It highlights typographical errors as you type and lets you easily search, replace, and build custom dictionaries.

XQuery Profiler

Stylus Studio's XQuery Profiler allows you to benchmark any XQuery expression, and it helps you locate and eliminate performance bottlenecks for maximum XQuery performance.

XML Syntax Help - Intelligent XML Editing

Stylus Studio's XML Editors feature Intelligent XML Schema/DTD-Aware Code Sensing and context sensitive XML code auto-completion. Simplify XML editing with Stylus Studio today.

XML Parser

An XML Parser is a parser that is designed to read XML and create a way for programs to use XML. Learn about Stylus Studio's comprehensive support for all of the world's leading XML Parsers.

Stylus Most Wanted

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2007 All Rights Reserved.