The stylesheet is the root of the document and encloses the entire group of templates. There should be only one stylesheet definition for each file. Any stylesheet statements that occur after the first declaration are ignored.
None.
It is wise to consult the documentation for the XSLT processor being used for restrictions on the various compnents suported.
version | The version number of the XSLT required by this stylesheet. Currently "1.0" or "1.1". |
id | An optional id for the stylesheet. |
exclude result prefixes | A space separated list of namespace prefixes that should not be sent to the output document. |
name space def | An optional namespace used within the stylesheet. Note that the namespaces for "xml" and "xsl" are added by the Rexsel uncompiler and may need to be removed manually. |
For example the skeleton of a Rexsel stylesheet is
would give the following XSLT. The "xmlns:xsl" namespace is automatically added to the output
Note that the version declaration is required and will generate an error if not there.
will give the errors
Any statements that are invalid within a stylesheet declaration are reported as an error.
would return