<html><head><link rel=StyleSheet href='api-content.css' TYPE='text/css' MEDIA='screen'><title>SablotSetOptions</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'>SablotSetOptions</font></td> <td class='entry-type' align='center' width='25%'>Functions</td> </tr></table> </td></tr> <tr><td class='entry-summary'> <h4 class='entry-subhead'>Summary</h4> Sets miscellaneous processing options. </td></tr> <tr><td class='entry-syntax'> <h4 class='entry-subhead'>Syntax</h4><pre> int SablotSetOptions(SablotSituation S, int flag); </pre> <center><table class='param-list' border='1' cellpadding='3' cellspacing='1'><tr class='param-list-head'><th>Name</th><th>Type</th><th>Description</th></tr> <tr class='param-row-even'><td class='param-name'><code>S</code></td><td param-type'><code><a href='javascript:navToEntry("SablotSituation");'>SablotSituation</a></code></td><td class='param-desc'>Situation handle </td> </tr> <tr class='param-row-odd'><td class='param-name'><code>flag</code></td><td param-type'><code>int</code></td><td class='param-desc'>new options </td> </tr> </table></center> </td></tr> <tr><td class='entry-description'> <h4 class='entry-subhead'>Description</h4> Options may be any bitwise combination of following: <P><code>SAB_NO_ERROR_REPORTING (0x1)</code> suppresses the invocation of the messages handler (if registered) <P><code>SAB_PARSE_PUBLIC_ENTITIES (0x2)</code> makes parser to resolve public external entities <P><code>SAB_DISABLE_ADDING_META (0x4)</code> suppresses the generation of the META tag (HTML output method) <P><code>SAB_DISABLE_STRIPPING (0x8)</code> suppresses the whitespace stripping (on data files only) <P><code>SAB_IGNORE_DOC_NOT_FOUND (0x10)</code> doesn't consider unresolved documents (the document() function) to be lethal <P><code>SAB_FILES_TO_HANDLER (0x20)</code> doesn't read 'file' URI internally, but pass it into the scheme handler <P><code>SAB_DUMP_SHEET_STRUCTURE (0x40)</code> writes a stylesheet structure (hierarchy of includes and imports) into the log <P><code>SAB_NO_EXTERNAL_ENTITIES (0x80)</code> doesn't parse any external entities </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_Functions")'>Functions</a> ]</td></tr> <tr class='seealso-internals'><td>Entries</td> <td>[ <a href='javascript:navToEntry("SablotSituation");'>SablotSituation</a> ]</td></tr> </table> </td></tr> </table></center><br> © 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>