protected function createPiNode()
    {
        $piNode = $this->getPiNode();

        if(0 !== count($piNode))
        {
            foreach($piNode as $target => $data)
            {
                $xslt = $this->getDomDocument()->createProcessingInstruction($target, $data);
                $this->getDomDocument()->appendChild($xslt);
            }
        }
    }
protected function createPiNode()
    {
        $piNode = $this->getPiNode();

        if(0 !== count($piNode))
        {
            foreach($piNode as $target => $data)
            {
                $xslt = $this->getDomDocument()->createProcessingInstruction($target, $data);
                $this->getDomDocument()->appendChild($xslt);
            }
        }
    }
protected function createPiNode ( ) { $ piNode = $ this -> getPiNode ( ) ; if ( 0 !== count ( $ piNode ) ) { foreach ( $ piNode as $ target => $ data ) { $ xslt = $ this -> getDomDocument ( ) -> createProcessingInstruction ( $ target , $ data ) ; $ this -> getDomDocument ( ) -> appendChild ( $ xslt ) ; } } }
Creates new PI node
Creates new PI node