function getPath(\DOMDocument $document)
    {
        $name = $document->documentElement->localName;
        if (empty($this->version)) {
            $this->loadVersion($document);
        }
        $path = $this->getFullPath($name);

        return $path;
    }
function getPath(\DOMDocument $document)
    {
        $name = $document->documentElement->localName;
        if (empty($this->version)) {
            $this->loadVersion($document);
        }
        $path = $this->getFullPath($name);

        return $path;
    }
function getPath ( \ DOMDocument $ document ) { $ name = $ document -> documentElement -> localName ; if ( empty ( $ this -> version ) ) { $ this -> loadVersion ( $ document ) ; } $ path = $ this -> getFullPath ( $ name ) ; return $ path ; }
Get Path XSD.

@param \DOMDocument $document
@return string|null
Get Path XSD .