Changeset 712

Show
Ignore:
Timestamp:
06/05/07 22:38:13 (1 year ago)
Author:
schst
Message:

removed obsolete todo,
whitespace fixes

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/main/php/net/stubbles/websites/xml/stubXMLPostInterceptor.php

    r473 r712  
    2222 * @package     stubbles 
    2323 * @subpackage  websites_xml 
    24  * @todo        make <xsl:import href="copy.xsl"/> work if loaded from a star file 
    25  *              in master.xsl and masterXInclude.xsl 
    2624 * @todo        clean the transformation result: xml:base, xml declaration, whitespace 
    2725 */ 
     
    5149            return false; 
    5250        } 
    53          
     51 
    5452        // first we create the xsl with the master.xsl 
    5553        $xslProcessor = $this->createXSLProcessor(); 
     
    7068        // use same xsl processor for the xincludes 
    7169        $this->setXIncludeProcessor($xslProcessor); 
    72          
     70 
    7371        $skin = (($page->hasProperty('skin') == true) ? ($page->getProperty('skin')) : ('default')); 
    7472        $xslProcessor->setXMLDocument($this->createXMLSkinDocument($skin)); 
    7573        $resultXSL = $xslProcessor->transformToDoc(); 
    7674        $resultXSL->xinclude(); 
    77          
     75 
    7876        // now we use the created xsl to transform the xml document created by the application 
    7977        $xslProcessor = $this->createXSLProcessor(); 
     
    8381        return true; 
    8482    } 
    85      
     83 
    8684    /** 
    8785     * use same xsl processor for the xincludes 
     
    9391        stubXMLXIncludeStreamWrapper::setXSLProcessor($xslProcessor); 
    9492    } 
    95      
     93 
    9694    /** 
    9795     * creates a stubXSLProcessor instance 
     
    104102        return $xslProcessor; 
    105103    } 
    106      
     104 
    107105    /** 
    108      * creates a stubXSLImageDimensions  
     106     * creates a stubXSLImageDimensions 
    109107     * 
    110108     * @return  stubXSLImageDimensions 
     
    116114        return $image; 
    117115    } 
    118      
     116 
    119117    /** 
    120118     * creates the xsl stylesheet 
     
    128126        return DOMDocument::load($uris[0]); 
    129127    } 
    130      
     128 
    131129    /** 
    132130     * creates the skin document