i have some more question here Which one is fast there in each two option: 1). $method = $xml->getChildrenByTagName('Method')->to_literal; $method = $xml->fidnnodes('./Method')->to_literal; 2). $xml->findnodes('./Indi/Lost/true') $xml->exists('./Indi/Lost/true')