The XSLT Editor will provide content assistance and proposals for XSLT elements that are available to be used within non-XSLT namespaced elements.This is depicted in XSLT Proposals within Non-XSLT elements.The XSL extensions for the eclipse XML editor include as you type validation for XSL specific features.
This tutorial is published under the Creative Commons Attribution-Non Commercial-Share Alike 3.0 Germany license.The plug-in defines a contract (API) with the definition of an extension point.This allows other plug-ins to add contributions (extensions) to the extension point.Grammar validation will be triggered based on the version attribute for the style sheet that is being edited. XSL Tools extends the existing content assistance support of the XML Editor to provide content assistance for several XSL namespace attributes.The content assistance provided covers the available XPath statements as defined in the XPath Templates preference page.If no proposals are available an message will be displayed in the status bar.Since XSLT is a templating language, it's elements must be able to be added to the various markup it includes.In addition, the XPath Templates page can be enhanced to allow commonly used XPath templates to be included, in addition to those installed by default.This allows a user the ability to add custom extension functions for XSLT that may be processor specific.Why isn't the XSL Namespace prefix in the proposals? The proposal list is populated by those modes defined on templates in the current stylesheet, and any of the templates that are included or imported.Currently the xsl prefix or any prefix that uses the XSL namespace is excluded from the list. Call Named templates have content assistance available for their name attributes.