getAttribute('xsi:type'); // The class of the property tree node is given by the xsi:type attribute if (is_a($sNodeType, AbstractProperty::class, true)) { $oNode = new $sNodeType(); $oNode->InitFromDomNode($oDomNode, $oParent); return $oNode; } throw new PropertyTreeException('Unknown property node class: '.json_encode($sNodeType).' from xpath: '.DesignDocument::GetItopNodePath($oDomNode)); } }