When the content completion is invoked by pressing CTRL+Space it also presents a list of code templates specific to the type of the active editor. Such a code template provides a shortcut for inserting a small document fragment at the current caret position. <oXygen/> comes with a large set of ready-to use templates for XSL and XML Schema documents.
Example 4.3. The XSL code template called Template-Match-Mode
Typing t in an XSL document and selecting tmm in the content assistant pop-up window will insert the following template at the caret position in the document:
<xsl:template match="" mode=""> </xsl:template>
Other templates can be easily defined by the user. Also the code templates can be shared with other users.