public function find($query, $asArray = false)
 {
     if ($this->dom === null) {
         $this->initDom();
     }
     $query = DrPublishDomElement::parseQuery($query);
     $domNodeList = $this->xpath->query($query);
     if ($asArray) {
         $out = array();
         foreach ($domNodeList as $domElement) {
             $out[] = $domElement;
         }
         return $out;
     }
     return DrPublishDomElementList::convertDomNodeList($domNodeList);
 }