HTMLPurifier 4.4.0
ConfigDoc_HTMLXSLTProcessor Class Reference

Decorator/extender XSLT processor specifically for HTML documents. More...

List of all members.

Public Member Functions

 __construct ($proc=false)
 importStylesheet ($xsl)
 transformToHTML ($xml)
 Transforms an XML file into compatible XHTML based on the stylesheet.
 setParameters ($options)
 Bulk sets parameters for the XSL stylesheet.
 __call ($name, $arguments)
 Forward any other calls to the XSLT processor.

Protected Attributes

 $xsltProcessor
 Instance of XSLTProcessor.

Detailed Description

Decorator/extender XSLT processor specifically for HTML documents.

Definition at line 6 of file HTMLXSLTProcessor.php.


Constructor & Destructor Documentation

ConfigDoc_HTMLXSLTProcessor::__construct ( proc = false)

Definition at line 14 of file HTMLXSLTProcessor.php.


Member Function Documentation

ConfigDoc_HTMLXSLTProcessor::__call ( name,
arguments 
)

Forward any other calls to the XSLT processor.

Definition at line 80 of file HTMLXSLTProcessor.php.

ConfigDoc_HTMLXSLTProcessor::importStylesheet ( xsl)
Note:
Allows a string $xsl filename to be passed

Definition at line 22 of file HTMLXSLTProcessor.php.

ConfigDoc_HTMLXSLTProcessor::setParameters ( options)

Bulk sets parameters for the XSL stylesheet.

Parameters:
array$optionsAssociative array of options to set

Definition at line 71 of file HTMLXSLTProcessor.php.

ConfigDoc_HTMLXSLTProcessor::transformToHTML ( xml)

Transforms an XML file into compatible XHTML based on the stylesheet.

Parameters:
$xmlXML DOM tree, or string filename
Returns:
string HTML output
Todo:
Rename to transformToXHTML, as transformToHTML is misleading

Definition at line 37 of file HTMLXSLTProcessor.php.

References $config.


Member Data Documentation

ConfigDoc_HTMLXSLTProcessor::$xsltProcessor [protected]

Instance of XSLTProcessor.

Definition at line 12 of file HTMLXSLTProcessor.php.


The documentation for this class was generated from the following file: