xslt_setopt

(PHP 4 >= 4.3.0)

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:

Esempi

Esempio 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);

?>

Vedere anche:

xslt_getopt().

Hosting by: hurra.com
Generated: 2007-01-26 17:56:35