Xsl_Processor_Xslt
extends Xsl_Processor
in package
XSLT driver
http://www.php.net/manual/en/class.domdocument.php
Tags
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
$_xml
XML
protected
string
$_xml
= \NULL
$_xsl
XSL
protected
Xsl_Model
$_xsl
= \NULL
Methods
clear()
Clear XSL
public
clear() : self
Return values
selfclearXmlns()
Clear XMLNS attribute
public
static clearXmlns(mixed $sXsl) : string
Parameters
- $sXsl : mixed
Return values
stringformatOutput()
Set formatOutput
public
formatOutput(null|true|false $formatOutput) : self
Parameters
- $formatOutput : null|true|false
Return values
selfformatXml()
Format XML
public
formatXml(string $content) : string
Parameters
- $content : string
-
source data
Return values
stringgetXml()
Get XML for entity and children entities
public
getXml() : string
Return values
stringgetXsl()
Get XSL
public
getXsl() : Xsl_Model
Return values
Xsl_Modelinstance()
Register an existing instance as a singleton.
public
static instance() : object
Return values
objectprocess()
Execute processor
public
process() : mixed
Tags
xml()
Set XML
public
xml(string $xml) : self
Parameters
- $xml : string
-
XML
Return values
selfxsl()
Set XSL
public
xsl(Xsl_Model $oXsl) : self
Parameters
- $oXsl : Xsl_Model
-
XSL
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