Query: xslt_setopt
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
XSLT_SETOPT(3) 1 XSLT_SETOPT(3) xslt_setopt - Set options on a given XSLT processorSYNOPSISmixed xslt_setopt (resource $processor, int $newmask)DESCRIPTIONxslt_setopt(3) sets the options specified by $newmask on the given $processor.PARAMETERSo $ processor -The XSLT processor link identifier, created with xslt_create(3). o $newmask -$newmask is a bitmask constructed with the following constants: o XSLT_SABOPT_PARSE_PUBLIC_ENTITIES - Tell the processor to parse public entities. By default this has been turned off. o 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. o XSLT_SABOPT_DISABLE_STRIPPING - Suppress the whitespace stripping (on data files only). o XSLT_SABOPT_IGNORE_DOC_NOT_FOUND - Consider unresolved documents (the document() function) non-lethal.RETURN VALUESReturns the number of previous mask is possible, TRUE otherwise, FALSE in case of an error.EXAMPLESExample #1 xslt_setopt(3) Example <?php $xh = xslt_create(); // Tell Sablotron to process public entities xslt_setopt($xh, XSLT_SABOPT_PARSE_PUBLIC_ENTITIES); // Let's also ask it to suppress whitespace stripping xslt_setopt($xh, xslt_getopt($xh) | XSLT_SABOPT_DISABLE_STRIPPING); ?>SEE ALSOxslt_getopt(3). PHP Documentation Group XSLT_SETOPT(3)
Related Man Pages |
---|
pset_assign_cpu(1) - osf1 |
xslt_set_base(3) - php |
xslt_setopt(3) - php |
cpu_family(3alleg4) - suse |
cpu_family(3alleg4) - centos |
Similar Topics in the Unix Linux Community |
---|
stripping server name from path |
phpW2ML 0.5 (Default branch) |
phpW2ML 0.6 (Default branch) |
Location Based Printing in Leopard not working |
File compilation error on AIX |