# Sablotron Guide and Reference

SablotSetOptions | Functions
#### Summary Sets miscellaneous processing options.
#### Syntax
    int SablotSetOptions(SablotSituation S,
           int flag);
Name | Type | Description
--- | --- | ---
`S` | `SablotSituation` | Situation handle
`flag` | `int` | new options
#### Description Options may be any bitwise combination of following: `SAB_NO_ERROR_REPORTING (0x1)` suppresses the invocation of the messages handler (if registered) `SAB_PARSE_PUBLIC_ENTITIES (0x2)` makes parser to resolve public external entities `SAB_DISABLE_ADDING_META (0x4)` suppresses the generation of the META tag (HTML output method) `SAB_DISABLE_STRIPPING (0x8)` suppresses the whitespace stripping (on data files only) `SAB_IGNORE_DOC_NOT_FOUND (0x10)` doesn't consider unresolved documents (the document() function) to be lethal `SAB_FILES_TO_HANDLER (0x20)` doesn't read 'file' URI internally, but pass it into the scheme handler `SAB_DUMP_SHEET_STRUCTURE (0x40)` writes a stylesheet structure (hierarchy of includes and imports) into the log `SAB_NO_EXTERNAL_ENTITIES (0x80)` doesn't parse any external entities
#### See Also
Groups | [ Functions ]
Entries | [ SablotSituation ]

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