Class ConfigDoc_HTMLXSLTProcessor
Inheritance | ConfigDoc_HTMLXSLTProcessor |
---|
Decorator/extender XSLT processor specifically for HTML documents.
Protected Properties
Property | Type | Description | Defined By |
---|---|---|---|
$xsltProcessor | Instance of XSLTProcessor | ConfigDoc_HTMLXSLTProcessor |
Public Methods
Method | Description | Defined 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
Method Details
Forward any other calls to the XSLT processor
public void __call ( $name, $arguments ) | ||
$name | ||
$arguments |
public void __construct ( $proc = false ) | ||
$proc |
public void importStylesheet ( $xsl ) | ||
$xsl |
Bulk sets parameters for the XSL stylesheet
public void setParameters ( $options ) | ||
$options | array | Associative array of options to set |
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 |
---|