Sophie

Sophie

distrib > Mandriva > 2010.0 > x86_64 > media > main-release > by-pkgid > 71fef6b9bbd764d1491dbe60964943fb > files > 18

lib64sablotron-devel-1.0.3-7mdv2010.0.x86_64.rpm

<html><head><link rel=StyleSheet href='api-content.css' TYPE='text/css' MEDIA='screen'><title>.Introduction</title>
<script>
function navToEntry(entry) {
  window.location.href='api-' + entry + '.html';
}
function navToGroup(group) {
  var f = parent.frames['toc-container'];
  if (!f)
    window.open ('sparse-toc.html#' + group, 'toc_container');
  else {
    if (f.location.href.search('abc') != -1)
        f.location.href = 'sparse-toc.html#' + group;
    else
        f.location.hash = group;
  }
}
</script>
</head><body bgcolor='white'>
<!--
  -- HEADS UP!  This page was *GENERATED* by APIDOC,
  -- DO NOT EDIT THIS FILE BY HAND!
  -- See http://www.mozilla.org/projects/apidoc for information on APIDOC
  -- The original source file was jsdom-ref.xml
  -->
<h1 class='title'>Sablotron Extensions API Reference</h1>
<center><table class='api-entry' width='100%' cellspacing='0'border='1' cellpadding='10'>
<tr><td class='entry-heading'>
<table class='entry-heading-table' width='100%' cellpadding='5'cellspacing='0'><tr>
<td class='entry-title' valign='center'><font size='+5'>Introduction</font></td>
<td class='entry-type' align='center' width='25%'>.General</td>
</tr></table>
</td></tr>
<tr><td class='entry-summary'>
<h4 class='entry-subhead'>Summary</h4>
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).
</td></tr>
<tr><td class='entry-description'>
<h4 class='entry-subhead'>Description</h4>
The API implementation follows the ECMAScript/DOM2 Language Binding 
defined in <a href='http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/' target='other_window'>DOM Level2</a>, Appendix E.<P>

However, there are few exceptions from the specifications:<P><b>*</b> The DOM model is read only<BR><b>*</b> DOM functions handling namespaces (with NS in their name) are 
not supported (throw NOT_SUPPORTED exception).<BR><b>*</b> XSLTContext.stringValue method is not supported.<BR><b>*</b> Document.getElementsByTagName{NS} methods aren't supported.<BR><b>*</b> Element.getElementsByTagName{NS} methods aren't supported.<BR><b>*</b> DTD definition nodes are not supported.<P>

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.<P>

See <code><a href='javascript:navToEntry("%2eObjects");'>.Objects</a></code> for the list of implemented objects.<P>

Type <code><a href='javascript:navToEntry("%2eConversions");'>.Conversions</a></code> and <code><a href='javascript:navToEntry("XSLTContext");'>XSLTContext</a></code> object binding are 
implemented according to <a href='http://www.w3.org/TR/xslt11/' target='other_window'>XSLT 1.1</a>, Appendix C3.

</td></tr>
<tr><td class='entry-seealso'>
<h4 class='entry-subhead'>See Also</h4>
<table class='seealso-table'>
<tr class='seealso-groups'><td>Groups</td>
<td>[ <a href='javascript:navToGroup("GROUP_.General")'>.General</a> ]</td></tr>
<tr class='seealso-externals'><td>Documents</td>
<td>[ <a href='http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/' target='other_window'>DOM Level2</a> | <a href='http://www.w3.org/TR/xslt11/' target='other_window'>XSLT 1.1</a> ]</td></tr>
<tr class='seealso-internals'><td>Entries</td>
<td>[ <a href='javascript:navToEntry("%2eConversions");'>.Conversions</a> | <a href='javascript:navToEntry("%2eObjects");'>.Objects</a> | <a href='javascript:navToEntry("XSLTContext");'>XSLTContext</a> ]</td></tr>

</table>
</td></tr>
</table></center><br>
&copy; 2001-2002 Ginger Alliance<BR><i>revision 02-08-05</i><BR>
<center>This page was generated by <a href='http://www.mozilla.org/projects/apidoc' target='other_window'><b>APIDOC</b></a></center>
</body></html>