Documentation

Xsl_Processor
in package

AbstractYes

XSL.

$return = Xsl_Processor::instance() ->xml($sXml) ->xsl($sXsl) ->process();

echo $return;

Tags
subpackage

Xsl

version
7.x
author

Hostmake LLC

copyright

© 2005-2024 ООО "Хостмэйк" (Hostmake LLC), http://www.hostcms.ru

Table of Contents

Properties

$instance  : mixed
The singleton instances.
$_deleteXmlHeader  : bool
Delete XML header
$_formatOutput  : mixed
formatOutput
$_xml  : string
XML
$_xsl  : Xsl_Model
XSL

Methods

clear()  : self
Clear XSL
clearXmlns()  : string
Clear XMLNS attribute
formatOutput()  : self
Set formatOutput
formatXml()  : string
Format XML
getXml()  : string
Get XML for entity and children entities
getXsl()  : Xsl_Model
Get XSL
instance()  : object
Register an existing instance as a singleton.
process()  : mixed
Execute processor
xml()  : self
Set XML
xsl()  : self
Set XSL
__construct()  : mixed
Constructor.
_clearXmlns()  : string
Clear XMLNS attribute
_deleteXmlHeader()  : string
Delete XML header

Properties

$instance

The singleton instances.

public static mixed $instance = \NULL

$_deleteXmlHeader

Delete XML header

protected bool $_deleteXmlHeader = \NULL

$_formatOutput

formatOutput

protected mixed $_formatOutput = \NULL

Methods

clear()

Clear XSL

public clear() : self
Return values
self

clearXmlns()

Clear XMLNS attribute

public static clearXmlns(mixed $sXsl) : string
Parameters
$sXsl : mixed
Return values
string

formatOutput()

Set formatOutput

public formatOutput(null|true|false $formatOutput) : self
Parameters
$formatOutput : null|true|false
Return values
self

formatXml()

Format XML

public formatXml(string $content) : string
Parameters
$content : string

source data

Return values
string

getXml()

Get XML for entity and children entities

public getXml() : string
Return values
string

instance()

Register an existing instance as a singleton.

public static instance() : object
Return values
object

process()

Execute processor

public abstract process() : mixed

xml()

Set XML

public xml(string $xml) : self
Parameters
$xml : string

XML

Return values
self

__construct()

Constructor.

protected __construct() : mixed

_clearXmlns()

Clear XMLNS attribute

protected _clearXmlns(mixed $sXsl) : string
Parameters
$sXsl : mixed
Return values
string

_deleteXmlHeader()

Delete XML header

protected _deleteXmlHeader(string $content) : string
Parameters
$content : string

source data

Return values
string

        
On this page

Search results