Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

added snippets for xslt

  • Loading branch information...
commit d4095107c2a335d8b5bdaf9d2e596991f9e32b4c 1 parent f9f4204
@brianjriddle brianjriddle authored
View
3  xslt/call.snippet
@@ -0,0 +1,3 @@
+ <xsl:call-template name="${1:template}">
+ ${2}
+ </xsl:call-template>
View
7 xslt/choose.snippet
@@ -0,0 +1,7 @@
+ <xsl:choose>
+ <xsl:when test="${1:test}">
+ ${2}
+ </xsl:when>
+ <xsl:otherwise>
+ </xsl:otherwise>
+ </xsl:choose>
View
3  xslt/mat.snippet
@@ -0,0 +1,3 @@
+ <xsl:template match="${1:match}"/>
+ ${2}
+ </xsl:template>
View
1  xslt/out.snippet
@@ -0,0 +1 @@
+ <xsl:output omit-xml-declaration="${1:yes}" method="${2:html}"/>
View
1  xslt/param.snippet
@@ -0,0 +1 @@
+ <xsl:param name="${1:name}" />
View
3  xslt/sty.snippet
@@ -0,0 +1,3 @@
+ <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+ ${1}
+ </xsl:stylesheet>
View
3  xslt/tem.snippet
@@ -0,0 +1,3 @@
+ <xsl:template name="${1:name}">
+ ${2}
+ </xsl:template>
View
1  xslt/value.snippet
@@ -0,0 +1 @@
+ <xsl:value-of select="${1:select}"/>
View
3  xslt/var.snippet
@@ -0,0 +1,3 @@
+ <xsl:variable name="${1:name}"/>
+ ${2}
+ </xsl:variable>
View
1  xslt/wparam.snippet
@@ -0,0 +1 @@
+ <xsl:with-param name="${1:name}" select="${2:select}" />
View
2  xslt/xdec.snippet
@@ -0,0 +1,2 @@
+ <?xml version="1.0" ecoding="${1:encoding}"?>
+ ${2}
Please sign in to comment.
Something went wrong with that request. Please try again.