Sophie

Sophie

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

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>.Extensions</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 sablot.xml
  -->
<h1 class='title'>Sablotron Guide and 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'>Extensions</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>
Sablotron supports a number of EXSLT extensions.
</td></tr>
<tr><td class='entry-description'>
<h4 class='entry-subhead'>Description</h4>
Sablotron recognizes the extension element 
<b>funct:script</b> (xmlns:funct="http://exslt.org/functions")
to run ECMAScript (JavaScript) functions as suggested by 
<a href='http://www.exslt.org' target='other_window'>EXSLT.org</a>. 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 <a href='http://www.w3.org/TR/xslt11/' target='other_window'>XSLT 1.1</a>, 
Appendix C3, and <a href='http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/' target='other_window'>DOM Level2</a>, Appendix E. See Sablotron 
<a href='http://www.gingerall.org/ga/html/jsdom-ref/complete-frameset.html' target='other_window'>Extensions API Reference</a> guide to get more details on how to use
DOM methods from JS extension functions.
<P>
Sablotron also supports <b>exsl:document</b> element 
(xmlns:exsl="http://exslt.org/common") to produce multiple output
documents.
<P>
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 <b>xsl:output method='xhtml'</b>.
</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.exslt.org' target='other_window'>EXSLT.org</a> | <a href='http://www.gingerall.org/ga/html/jsdom-ref/complete-frameset.html' target='other_window'>Extensions API Reference</a> | <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>

</table>
</td></tr>
</table></center><br>
&copy; 2002-2003 Ginger Alliance<BR><i>revision 03-06-30</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>