• PHP Video Tutorials

PHP - XSLT Processor Functions



XSL extension is an implementation of thw XSL standard to perform XSTL transformation using the libxslt library.

Installation

This extension enable by default. Default command line for disable at compile time is --disable-xml.

Runtime Configuration

This extension has no configuration directives defined in php.ini.

List of Functions

PHP − indicates the earliest version of PHP that supports the function.

Sr.No Function & Description PHP
1

XSLTProcessor::__construct

This function is used to close the current XMLReader object.

5
2

XSLTProcessor::getParameter

This function returns the copy of current node as DOM object.

5
3

XSLTProcessor::getSecurityPrefs

This function is used to retrieve the value of a named attribute.

5
4

XSLTProcessor::importStylesheet

This function is used to retrieve the value of an attribute by index.

5
5

XSLTProcessor::removeParameter

This function is used to retrieve the value of an attribute by name and URI.

5
6

XSLTProcessor::setParameter

This Is used to determine whether a property has been set.

5
7

XSLTProcessor::setSecurityPrefs

This Is used to determine whether the parsed XML document is valid.

5
8

XSLTProcessor::transformToDoc

This function is used to lookup a namespace for a prefix.

5
9

XSLTProcessor::transformToUri

This function moves the cursor to the an attribute of the current element based on the given name.

5
10

XSLTProcessor::transformToXml

This function moves the cursor to the an attribute of the current element based on number.

5
php_function_reference.htm
Advertisements