protected function createBasicDocument()
    {
        $this->doc->loadXML(
            '<?xml version="1.0" encoding="UTF-8"?>' .
            '<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" version="1.2"><file><body></body></file></xliff>',
            LIBXML_NSCLEAN
        );

        // Set some basic information.
        $this->setDataType('plaintext');
        $this->setDate(time());
        $this->setOriginal('');
        $this->setSrcLang('en');
        $this->setTgtLang('en');
    }
protected function createBasicDocument()
    {
        $this->doc->loadXML(
            '<?xml version="1.0" encoding="UTF-8"?>' .
            '<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" version="1.2"><file><body></body></file></xliff>',
            LIBXML_NSCLEAN
        );

        // Set some basic information.
        $this->setDataType('plaintext');
        $this->setDate(time());
        $this->setOriginal('');
        $this->setSrcLang('en');
        $this->setTgtLang('en');
    }
protected function createBasicDocument ( ) { $ this -> doc -> loadXML ( '<?xml version="1.0" encoding="UTF-8"?>' . '<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" version="1.2"><file><body></body></file></xliff>' , LIBXML_NSCLEAN ) ; // Set some basic information. $ this -> setDataType ( 'plaintext' ) ; $ this -> setDate ( time ( ) ) ; $ this -> setOriginal ( '' ) ; $ this -> setSrcLang ( 'en' ) ; $ this -> setTgtLang ( 'en' ) ; }
Create the basic document structure.

@return void
Create the basic document structure .