xslt_setopt
Set options on a given xsl processor
&reftitle.description;
mixedxslt_setopt
resourceprocessor
intnewmask
xslt_setopt sets the options specified by
newmask on the given processor.
&reftitle.parameters;
processor
The XSLT processor link identifier, created with
xslt_create.
newmask
newmask is a bitmask constructed with the
following constants:
XSLT_SABOPT_PARSE_PUBLIC_ENTITIES - Tell the
processor to parse public entities. By default this has been turned
off.
XSLT_SABOPT_DISABLE_ADDING_META - Do not add
the meta tag "Content-Type" for HTML output. The default is set
during the compilation of the processor.
XSLT_SABOPT_DISABLE_STRIPPING - Suppress the
whitespace stripping (on data files only).
XSLT_SABOPT_IGNORE_DOC_NOT_FOUND - Consider
unresolved documents (the document() function) non-lethal.
&reftitle.returnvalues;
Returns the number of previous mask is possible, &true; otherwise,
&false; in case of an error.
&reftitle.examples;
xslt_setopt Example
]]>
&reftitle.seealso;
xslt_getopt