Skip to content

Commit

Permalink
Merge pull request #100 from joewiz/feature-new-xquery-snippets
Browse files Browse the repository at this point in the history
add snippets for output & html namespace decls
  • Loading branch information
joewiz committed Oct 22, 2015
2 parents 90752af + b4fce2c commit d056ce2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions templates/xquery.snippets
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@ snippet decns
snippet decopt
declare option output:${1:method} "${2:html5}";

snippet output
declare namespace output="http://www.w3.org/2010/xslt-xquery-serialization";

snippet json
declare option output:method "json";
declare option output:media-type "application/json";
Expand All @@ -65,6 +68,9 @@ snippet html5
declare option output:method "html5";
declare option output:media-type "text/html";

snippet html
declare namespace html="http://www.w3.org/1999/xhtml";

snippet var
declare variable $${1:name} := ${2:()};

Expand Down

0 comments on commit d056ce2

Please sign in to comment.