diff options
author | xue <> | 2007-03-06 19:45:45 +0000 |
---|---|---|
committer | xue <> | 2007-03-06 19:45:45 +0000 |
commit | a2fdc110c90dbc5a1159de253a2d69e71e48a893 (patch) | |
tree | e88fb9dd944e5c7c0e0136931a9366c9d248e68d /framework/Web/UI/WebControls/TXmlTransform.php | |
parent | f48f2d97a1793103f7c99303c1309c2a22a5a8ca (diff) |
removed trailing spaces.
Diffstat (limited to 'framework/Web/UI/WebControls/TXmlTransform.php')
-rw-r--r-- | framework/Web/UI/WebControls/TXmlTransform.php | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/framework/Web/UI/WebControls/TXmlTransform.php b/framework/Web/UI/WebControls/TXmlTransform.php index 12dae09d..79e96af0 100644 --- a/framework/Web/UI/WebControls/TXmlTransform.php +++ b/framework/Web/UI/WebControls/TXmlTransform.php @@ -161,7 +161,7 @@ class TXmlTransform extends TControl { return null; } } - + /** * Performs XSL transformation and render the output. * @param THtmlWriter The writer used for the rendering purpose @@ -174,20 +174,21 @@ class TXmlTransform extends TControl { $document->loadXML($textWriter->flush()); } $stylesheet = $this->getTransformXmlDocument(); - + // Perform XSL transformation $xslt = new XSLTProcessor(); $xslt->importStyleSheet($stylesheet); - + // Check for parameters $parameters = $this->getParameters(); foreach($parameters as $name => $value) { $xslt->setParameter('', $name, $value); } $output = $xslt->transformToXML($document); - + // Write output $writer->write($output); } } -?> + +?>
\ No newline at end of file |