src/XSD2PHP/src/com/mikebevz/xsd2php/wsdl/AbstractWsdl.php
private function prepareDom()
    {
        $this->dom = new \DOMDocument('1.0', 'UTF-8');
        if ($this->debug) {
            $this->dom->formatOutput = true;
        }
        $this->wsDefinitions = $this->dom->createElementNS($this->namespaces['wsdl'], 'wsdl:definitions');
        $this->dom->appendChild($this->wsDefinitions);
        $this->wsDefinitions->setAttribute('name', $this->wsdlName);
        $this->wsDefinitions->setAttribute('targetNamespace', $this->wsdlTargetNamespace);
        $this->dom->createAttributeNS($this->wsdlTargetNamespace, $this->targetNsPrefix.':definitions'); // This NS
        $this->common->dom = $this->dom;
    }
private function prepareDom()
    {
        $this->dom = new \DOMDocument('1.0', 'UTF-8');
        if ($this->debug) {
            $this->dom->formatOutput = true;
        }
        $this->wsDefinitions = $this->dom->createElementNS($this->namespaces['wsdl'], 'wsdl:definitions');
        $this->dom->appendChild($this->wsDefinitions);
        $this->wsDefinitions->setAttribute('name', $this->wsdlName);
        $this->wsDefinitions->setAttribute('targetNamespace', $this->wsdlTargetNamespace);
        $this->dom->createAttributeNS($this->wsdlTargetNamespace, $this->targetNsPrefix.':definitions'); // This NS
        $this->common->dom = $this->dom;
    }
Prepare DOM

@return void