public function toXML(DOMElement $parent) : DOMElement
    {
        $e = Utils::addString($parent, Constants::NS_MD, 'md:AdditionalMetadataLocation', $this->getLocation());
        $e->setAttribute('namespace', $this->getNamespace());

        return $e;
    }
public function toXML(DOMElement $parent) : DOMElement
    {
        $e = Utils::addString($parent, Constants::NS_MD, 'md:AdditionalMetadataLocation', $this->getLocation());
        $e->setAttribute('namespace', $this->getNamespace());

        return $e;
    }
public function toXML ( DOMElement $ parent ) : DOMElement { $ e = Utils :: addString ( $ parent , Constants :: NS_MD , 'md:AdditionalMetadataLocation' , $ this -> getLocation ( ) ) ; $ e -> setAttribute ( 'namespace' , $ this -> getNamespace ( ) ) ; return $ e ; }
Convert this AdditionalMetadataLocation to XML.

@param  \DOMElement $parent The element we should append to.
@return \DOMElement This AdditionalMetadataLocation-element.
Convert this AdditionalMetadataLocation to XML .