Rapid XSLT Help Sheet
Program Overview

This help sheet gives you the information you need to be able to make the best use of the program.  Read on…

What do I need to know to get started?

Not much.  Create a new document from the menu bar or by pressing Ctrl+N and just start typing your XSLT document as you normally would.

You'll notice that when you're on an XSLT element, its attributes get listed on the left-hand pane.

Now, instead of typing your XSLT tags manually you can press and hold Ctrl+Shift to bring up a little window that tells you what key to press next in order to insert that XSLT element automatically.  The program will insert its tags and all its attributes.  If you want to control exactly what is inserted and what isn't, you can do so by choosing Edit à Preferences from the menu bar.

If you want, you can also make use of the shorthand notation to quickly write certain constructs.

How do I write shorthand code?

The bottom left-hand corner is where you write it.  The shorthand notation currently supports two constructs.  The syntax for each one is shown below:

 Shorthand Notation Screenshot

You should be able to see how the shorthand code maps to normal XSLT from those two examples. 

You may only write multiple constructs that are of the same type in the window at any given time.  Pressing Ctrl and clicking with the mouse at the position you want in your document will instantly convert your code to XSLT!

What other accelerators can I use?

You can use Ctrl+Alt and any of the four arrow keys to navigate between elements and attributes.  When an element or attribute is then highlighted, you'll get its exact position relative to the rest of the document at the bottom of the main window.  This accelerator is useful if you want to quickly change the values of multiple attributes for example.

What if I want to wrap several parts of my code with xsl:templates?

You can do that too.  In fact, you can wrap any piece of highlighted code with a newly inserted one.  The program automatically detects if there's any code that's highlighted.  If so, it simply wraps the start and end tags of the element you choose to insert around it.

Anything else?

You can save and open files and undo and redo typed text just as you would in any other editor.  Any file with a .xsl extension can be opened, edited and then saved.