XSLT Quick Fix Support

The Oxygen XML Editor Quick Fix support helps you resolve different errors that appear in a stylesheet by offering quick fixes to problems like a missing template, misspelled template name, missing function or references to an undeclared variable or parameter.

Figure: XSLT Functions Quick Fix

To activate the feature, when Oxygen XML Editor finds a validation error in an XSLT stylesheet, place the caret in the highlighted area of text. If Oxygen XML Editor can provide a quick fix for that error, the icon is displayed in the left side stripe. When you click this icon, the list of available fixes is displayed. Also, you can invoke the quick fix menu if you press Alt + 1 keys (Meta + Alt + 1 on Mac OS X) on your keyboard.

Note: The quick fixes are available only when validating an XSLT file with Saxon HE/PE/EE.

Figure: XSLT Variables and Parameters Quick Fix

Oxygen XML Editor provides quick fixes for the following cases: