https://github.com/greystate/xslt-tmbundle
My XSLT bundle for TextMate 2
https://github.com/greystate/xslt-tmbundle
snippets tmbundle xml xslt
Last synced: 5 months ago
JSON representation
My XSLT bundle for TextMate 2
- Host: GitHub
- URL: https://github.com/greystate/xslt-tmbundle
- Owner: greystate
- Created: 2013-11-07T22:12:40.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2018-11-15T22:44:28.000Z (over 7 years ago)
- Last Synced: 2025-11-19T23:09:11.588Z (7 months ago)
- Topics: snippets, tmbundle, xml, xslt
- Language: XSLT
- Size: 44.9 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# XSLT.tmbundle
This my own tried and tested, tweaked and twisted **XSLT bundle** for **[TextMate 2][TM2]**.
[TM2]: http://macromates.com/
## Installation
cd ~/Library/Application\ Support/Avian/Bundles/
git clone git://github.com/greystate/xslt-tmbundle XSLT.tmbundle
## Snippets
The things I use most from this bundle are definitely the snippets - here's a couple of highlights:
* `tmpl` : Create a new *match* template
* `tmpln` : Create a new *named* template
* `tmplm` : Create a new match template with a mode
* `appl` : Create an apply-templates instruction
* `appls` : Create an apply-templates instruction with a sort node
## Commands
### Preview Transformation
Select an XML file and an XSLT stylesheet in the project folder, and run this command, to run the transform and display the result as HTML in the Web Preview window.
### Transform and show as XML
Like the previous one, this requires an XML file and an XSLT stylesheet selected in the project - the XML is transformed with the XSLT and the results is shown as colour-coded XML.
## Notes
* Some commands still refer to scripts on my local drive, so won't work. Hopefully I'll be able to fix those along the way.