Search and Refactoring

Working with large stylesheets may become difficult at some point. <oXygen/> can help you in reorganizing stylesheets. You can easily rename templates, variables, extract sections from templates as other templates, search references and occurrences in the project files. For all operations that imply modifications in multiple files, a preview window will show exactly the changes for each files.

XSLT Search and Refactoring

Rename XSLT Occurrences

02:45
XSLT Refactoring

You are able to rename XSLT components like variables, templates, functions, etc. You have full control over all changes using a diff view to inspect and review the document edits before performing them. The scope of the rename operation can be the current file, the project, the master files or a scope that you define.

Search XSLT References/Declarations

This search is performed for any XSLT component that has references or declarations, like variables, functions, named templates, attribute sets, etc. The search scope can be the current file, the project, the master files or a custom scope defined by user.

Also, all the occurrences of an XSL component are highlighted in the text when you place the caret near the component name.

Component occurences highlighted into the XSL source

Component Dependencies

The Component Dependencies view presents a tree of component dependencies starting with a specified component. For example you can quickly see from where an XSLT template is called and, if called from other named templates, you can expand further to see where they are called from.

XSL Component Dependencies
Video Tutorials
" oXygen XML Editor is the premier text editor for XML geeks, and an indispensable tool for O'Reilly's Production group. My team uses oXygen XML Editor for everything from simple XML editing to Schema validation and XSLT transformations. The digital production staff especially loves oXygen's built-in EPUB support, which eliminates a great deal of the grunt work that is usually entailed in editing EPUB files. The more we use oXygen, the more realize what a powerful tool it can be in digital and XML-based workflows."
Adam Witwer
Director of Content and Publishing Operations
O'Reilly Media