private function toBuildXML($root = 'BatchQueryRequest') { $xml = XML::array2xml($this->attributes, $root); $this->xml = $xml; }