# Sablotron Extensions API Reference

Introduction | .General
#### Summary This reference guide describes the DOM API for Sablotron Extension functions in JavaScript. Sablotron supports an extension element funct:script element (where funct prefix is bound to the 'http://exslt.org/functions' namespace URI) with language="func:ecmascript" or language="func:javascript" (just "ecmascript" or "javascript" work as well).
#### Description The API implementation follows the ECMAScript/DOM2 Language Binding defined in DOM Level2, Appendix E. However, there are few exceptions from the specifications: * The DOM model is read only * DOM functions handling namespaces (with NS in their name) are not supported (throw NOT_SUPPORTED exception). * XSLTContext.stringValue method is not supported. * Document.getElementsByTagName{NS} methods aren't supported. * Element.getElementsByTagName{NS} methods aren't supported. * DTD definition nodes are not supported. As the model is read-only and because of distinctions in the DOM and the XPath models, some objects can't be ever instantiated. Those objects (DocumentFragment, Text, Comment, CDATASection, DocumentType, Notation, Entity, EntityReference, ProcessingInstruction) are not supported. See `.Objects` for the list of implemented objects. Type `.Conversions` and `XSLTContext` object binding are implemented according to XSLT 1.1, Appendix C3.
#### See Also
Groups | [ .General ]
Documents | [ DOM Level2 | XSLT 1.1 ]
Entries | [ .Conversions | .Objects | XSLTContext ]

© 2001-2002 Ginger Alliance
revision 02-08-05
This page was generated by APIDOC