/usr/share/gedit/plugins/snippets/xslt.xml is in gedit-common 3.4.1-0ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 | <?xml version="1.0" encoding="UTF-8"?>
<snippets language="xslt">
<snippet id="stylesheet">
<text><![CDATA[<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
$0
</xsl:stylesheet>
]]></text>
<description>StyleSheet</description>
<tag>stylesheet</tag>
</snippet>
<snippet id="include">
<text><![CDATA[<xsl:include href="$1"/>
]]></text>
<description>Include</description>
<tag>inc</tag>
</snippet>
<snippet id="import">
<text><![CDATA[<xsl:import href="$1"/>
]]></text>
<description>Import</description>
<tag>imp</tag>
</snippet>
<snippet id="param">
<text><![CDATA[<xsl:param name="$1"/>
]]></text>
<description>Parameter</description>
<tag>param</tag>
</snippet>
<snippet id="template">
<text><![CDATA[<xsl:template ${1:[match,name]}="$2" ${3:mode=""}>
$0
</xsl:template>
]]></text>
<description>Template</description>
<tag>templ</tag>
</snippet>
<snippet id="variable-1">
<text><![CDATA[<xsl:variable name="$1">
$0
</xsl:variable>
]]></text>
<description>Variable</description>
<tag>var</tag>
</snippet>
<snippet id="variable-2">
<text><![CDATA[<xsl:variable name="$1" select="$2"/>
$0]]></text>
<description>Variable with Select Attribute</description>
<tag>var</tag>
</snippet>
<snippet id="choose">
<text><![CDATA[<xsl:choose>
<xsl:when test="$1">
$2
</xsl:when>
$3
</xsl:choose>
]]></text>
<description>Choose</description>
<tag>choose</tag>
</snippet>
<snippet id="when">
<text><![CDATA[<xsl:when test="$1">
$2
</xsl:when>
$0]]></text>
<description>When</description>
<tag>when</tag>
</snippet>
<snippet id="otherwise">
<text><![CDATA[<xsl:otherwise>
$1
</xsl:otherwise>
$0]]></text>
<description>Otherwise</description>
<tag>otherwise</tag>
</snippet>
<snippet id="if">
<text><![CDATA[<xsl:if test="$1">
$2
</xsl:if>
$0]]></text>
<description>If</description>
<tag>if</tag>
</snippet>
<snippet id="value-of">
<text><![CDATA[<xsl:value-of select="$1"/>
]]></text>
<description>Value of</description>
<tag>val</tag>
</snippet>
<snippet id="element">
<text><![CDATA[<xsl:element name="$1">
</xsl:element>
$0]]></text>
<description>Element</description>
<tag>elem</tag>
</snippet>
<snippet id="attribute">
<text><![CDATA[<xsl:attribute name="$1">$2</xsl:attribute>
$0]]></text>
<description>Attribute</description>
<tag>attr</tag>
</snippet>
<snippet id="text">
<text><![CDATA[<xsl:text>${1:$GEDIT_SELECTED_TEXT}</xsl:text>
]]></text>
<description>Text</description>
<tag>text</tag>
</snippet>
<snippet id="comment">
<text><![CDATA[<xsl:comment>${1:$GEDIT_SELECTED_TEXT}</xsl:comment>
]]></text>
<description>Comment</description>
<tag>comment</tag>
</snippet>
<snippet id="call-template">
<text><![CDATA[<xsl:call-template name="$1"/>
]]></text>
<description>Call Template</description>
<tag>call</tag>
</snippet>
<snippet id="apply-templates">
<text><![CDATA[<xsl:apply-templates mode="$1" select="$2"/>
$0]]></text>
<description>Apply Templates</description>
<tag>applyt</tag>
</snippet>
<snippet id="apply-imports">
<text><![CDATA[<xsl:apply-imports/>
]]></text>
<description>Apply Imports</description>
<tag>applyimp</tag>
</snippet>
<snippet id="with-param">
<text><![CDATA[<xsl:with-param name="$1">
$2
</xsl:with-param>
$0]]></text>
<description>With Param</description>
<tag>with</tag>
</snippet>
</snippets>
|