All of Rexsel keywords map, more or less, to an equivalent XSLT construction. Where it is possible the same keyword is related directly to the XSLT element. The examples given elsewhere use the default XML namespace for XSLT, thus not requiring the ‘xsl:’ prefix with the XSLT elements.
The generalised form of a Rexsel statement is
where keywords are valid instructions (stylesheet, variable, etc.); options are an optional list of names or expressions, either single or in pairs; and block elements are a list of valid instructions enclosed by brackets. If there are no block elements required then the brackets can be ignored.
Instructions can obviously be nested
Comments are ignored by the Rexsel compiler and are identical to comments in C, Swift, etc. Single-line comments begin with two forward-slashes (//). Multi-line comments are not currently supported, but will be added in future versions.