protected function getAttribute(\DOMElement $node, $name)
    {
        if ($this->rootNSWorkaround()) {
            return $node->getAttribute($name);
        }

        return $node->getAttributeNS(self::NS, $name);
    }