xslt_setopt

(PHP 4 >= 4.3.0, PECL)

xslt_setopt --  Set options on a given xsl processor

Description

int xslt_setopt ( resource processor, int newmask )

xslt_setopt() sets the options specified by newmask on the given processor.

newmask is a bitmask constructed with the following constants:

Przykłady

Przykład 1. xslt_setopt() Example

<?php

$xh
= xslt_create();

// Tell Sablotron to process public entities
xslt_setopt($xh, XSLT_SABOPT_PARSE_PUBLIC_ENTITIES);

// Let's also ask him to suppress whitespace stripping
xslt_setopt($xh, xslt_getopt($xh) | XSLT_SABOPT_DISABLE_STRIPPING);

?>

Patrz także

xslt_getopt().

Hosting by: Hurra Communications Sp. z o.o.
Generated: 2007-01-26 18:02:38