Class ConfigDoc_HTMLXSLTProcessor

InheritanceConfigDoc_HTMLXSLTProcessor

Decorator/extender XSLT processor specifically for HTML documents.

Protected Properties

Hide inherited properties

PropertyTypeDescriptionDefined By
$xsltProcessor Instance of XSLTProcessor ConfigDoc_HTMLXSLTProcessor

Public Methods

Hide inherited methods

MethodDescriptionDefined By
__call() Forward any other calls to the XSLT processor ConfigDoc_HTMLXSLTProcessor
__construct() ConfigDoc_HTMLXSLTProcessor
importStylesheet() ConfigDoc_HTMLXSLTProcessor
setParameters() Bulk sets parameters for the XSL stylesheet ConfigDoc_HTMLXSLTProcessor
transformToHTML() Transforms an XML file into compatible XHTML based on the stylesheet ConfigDoc_HTMLXSLTProcessor

Property Details

$xsltProcessor protected property
protected $xsltProcessor null

Method Details

__call() public method

Forward any other calls to the XSLT processor

public void __call ( $name, $arguments )
$name
$arguments
__construct() public method

public void __construct ( $proc false )
$proc
importStylesheet() public method

public void importStylesheet ( $xsl )
$xsl
setParameters() public method

Bulk sets parameters for the XSL stylesheet

public void setParameters ( $options )
$options array

Associative array of options to set

transformToHTML() public method

Transforms an XML file into compatible XHTML based on the stylesheet

public string transformToHTML ( $xml )
$xml

XML DOM tree, or string filename

return string

HTML output