sponsor Vim development Vim logo Vim Book Ad

xslhelper.vim : Help for writing XSLT stylesheets

 script karma  Rating 24/8, Downloaded by 887    Comments, bugs, improvements  Vim wiki

created by
Andrew Savikas
 
script type
ftplugin
 
description
Very basic helper abbreviations for writing xslt stylesheets. Like vivek Venugopalan's dbhelper.vim, uses the format ",<abbrev>", as in:
,tm ==> <xsl:template match=""></xsl:template>
,at ==> <xsl:apply-templates/>

It helps me a ton, hope it helps you too. Please send feedback to andrews AT oreilly.com.

Cheers.
 
install details
I added it to my ftplugin directory, and put the following in my vimrc file:
augroup BEGIN
   au! BufRead,BufNewFile *.xsl source $VIM\vim63\ftplugin\xslhelper.vim
augroup END
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
xslhelper.tar.gz 1.3 2005-09-23 6.0 Andrew Savikas Fixed a minor glitch in the <xsl:call-template> abbreviation.
xslhelper.tar.gz 1.2 2005-09-23 6.0 Andrew Savikas Fixed bug in ,co (<xsl:copy-of>) abbreviation. Now correctly closes with </xsl:copy-of> instead of </xsl:copy>.
xslhelper.tar.gz 1.1 2005-09-23 6.0 Andrew Savikas Added documentation (courtesy of Keith Fahlgren) explicitly showing the result of each abbreviation.
xslhelper.tar.gz 1.0 2005-09-22 6.0 Andrew Savikas Initial upload
ip used for rating: 54.91.9.248

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
SourceForge.net Logo