Sablotron Guide and Reference

Extensions .General

Summary

Sablotron supports a number of EXSLT extensions.

Description

Sablotron recognizes the extension element funct:script (xmlns:funct="http://exslt.org/functions") to run ECMAScript (JavaScript) functions as suggested by EXSLT.org. Extension functions have a read-only DOM access to the main XML document and to node-sets passed as arguments. The implementation follows the ECMAScript/DOM2 Language Binding defined in XSLT 1.1, Appendix C3, and DOM Level2, Appendix E. See Sablotron Extensions API Reference guide to get more details on how to use DOM methods from JS extension functions.

Sablotron also supports exsl:document element (xmlns:exsl="http://exslt.org/common") to produce multiple output documents.

In addition to the standard output methods (xml, html and text), it is possible to output xhtml. Documents output using this method obey the XHTML 1.0 rules (in particular, all empty elements are closed). To choose the method, use xsl:output method='xhtml'.

See Also

Groups [ .General ]
Documents [ EXSLT.org | Extensions API Reference | DOM Level2 | XSLT 1.1 ]

© 2002-2003 Ginger Alliance
revision 03-06-30
This page was generated by APIDOC