public function parseFromXml($strXml) { $xml = simplexml_load_string($strXml); $this->parseFromXmlNode($xml); }