Permalink
Browse files

added snippets for xslt

  • Loading branch information...
1 parent f9f4204 commit d4095107c2a335d8b5bdaf9d2e596991f9e32b4c @brianjriddle brianjriddle committed Jun 3, 2010
Showing with 28 additions and 0 deletions.
  1. +3 −0 xslt/call.snippet
  2. +7 −0 xslt/choose.snippet
  3. +3 −0 xslt/mat.snippet
  4. +1 −0 xslt/out.snippet
  5. +1 −0 xslt/param.snippet
  6. +3 −0 xslt/sty.snippet
  7. +3 −0 xslt/tem.snippet
  8. +1 −0 xslt/value.snippet
  9. +3 −0 xslt/var.snippet
  10. +1 −0 xslt/wparam.snippet
  11. +2 −0 xslt/xdec.snippet
View
@@ -0,0 +1,3 @@
+ <xsl:call-template name="${1:template}">
+ ${2}
+ </xsl:call-template>
View
@@ -0,0 +1,7 @@
+ <xsl:choose>
+ <xsl:when test="${1:test}">
+ ${2}
+ </xsl:when>
+ <xsl:otherwise>
+ </xsl:otherwise>
+ </xsl:choose>
View
@@ -0,0 +1,3 @@
+ <xsl:template match="${1:match}"/>
+ ${2}
+ </xsl:template>
View
@@ -0,0 +1 @@
+ <xsl:output omit-xml-declaration="${1:yes}" method="${2:html}"/>
View
@@ -0,0 +1 @@
+ <xsl:param name="${1:name}" />
View
@@ -0,0 +1,3 @@
+ <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+ ${1}
+ </xsl:stylesheet>
View
@@ -0,0 +1,3 @@
+ <xsl:template name="${1:name}">
+ ${2}
+ </xsl:template>
View
@@ -0,0 +1 @@
+ <xsl:value-of select="${1:select}"/>
View
@@ -0,0 +1,3 @@
+ <xsl:variable name="${1:name}"/>
+ ${2}
+ </xsl:variable>
View
@@ -0,0 +1 @@
+ <xsl:with-param name="${1:name}" select="${2:select}" />
View
@@ -0,0 +1,2 @@
+ <?xml version="1.0" ecoding="${1:encoding}"?>
+ ${2}

0 comments on commit d409510

Please sign in to comment.