1
<?xml version="1.0" encoding="UTF-8"?>
2
<snippets language="xslt">
3
<snippet id="stylesheet">
4
<text><![CDATA[<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
8
<description>StyleSheet</description>
11
<snippet id="include">
12
<text><![CDATA[<xsl:include href="$1"/>
14
<description>Include</description>
18
<text><![CDATA[<xsl:import href="$1"/>
20
<description>Import</description>
24
<text><![CDATA[<xsl:param name="$1"/>
26
<description>Parameter</description>
29
<snippet id="template">
30
<text><![CDATA[<xsl:template ${1:[match,name]}="$2" ${3:mode=""}>
34
<description>Template</description>
37
<snippet id="variable-1">
38
<text><![CDATA[<xsl:variable name="$1">
42
<description>Variable</description>
45
<snippet id="variable-2">
46
<text><![CDATA[<xsl:variable name="$1" select="$2"/>
48
<description>Variable with Select Attribute</description>
52
<text><![CDATA[<xsl:choose>
59
<description>Choose</description>
63
<text><![CDATA[<xsl:when test="$1">
67
<description>When</description>
70
<snippet id="otherwise">
71
<text><![CDATA[<xsl:otherwise>
75
<description>Otherwise</description>
79
<text><![CDATA[<xsl:if test="$1">
83
<description>If</description>
86
<snippet id="value-of">
87
<text><![CDATA[<xsl:value-of select="$1"/>
89
<description>Value of</description>
92
<snippet id="element">
93
<text><![CDATA[<xsl:element name="$1">
96
<description>Element</description>
99
<snippet id="attribute">
100
<text><![CDATA[<xsl:attribute name="$1">$2</xsl:attribute>
102
<description>Attribute</description>
106
<text><![CDATA[<xsl:text>${1:$GEDIT_SELECTED_TEXT}</xsl:text>
108
<description>Text</description>
111
<snippet id="comment">
112
<text><![CDATA[<xsl:comment>${1:$GEDIT_SELECTED_TEXT}</xsl:comment>
114
<description>Comment</description>
117
<snippet id="call-template">
118
<text><![CDATA[<xsl:call-template name="$1"/>
120
<description>Call Template</description>
123
<snippet id="apply-templates">
124
<text><![CDATA[<xsl:apply-templates mode="$1" select="$2"/>
126
<description>Apply Templates</description>
129
<snippet id="apply-imports">
130
<text><![CDATA[<xsl:apply-imports/>
132
<description>Apply Imports</description>
135
<snippet id="with-param">
136
<text><![CDATA[<xsl:with-param name="$1">
140
<description>With Param</description>