Lines Matching defs:xml
18 $this->eSummaryURL = 'https://eutils.ncbi.nlm.nih.gov/entrez/eutils/esummary.fcgi?db=%s&retmode=xml&id=%s';
45 $xml = $this->HttpClient->get(sprintf($this->pubchemURL,$cid));
46 if (preg_match("/error/i",$xml)){return NULL;}
47 return $xml;
54 function GetSummaryItem($item,&$xml){
55 preg_match('/"'.$item.'"[^>]*>([^<]+)/',$xml,$m);
59 function GetSummaryItems($item,&$xml){
60 preg_match_all('/"'.$item.'"[^>]*>([^<]+)/',$xml,$m);
64 function GetSearchItem($item,&$xml){
65 preg_match("/<".$item.">([^<]+?)</",$xml,$m);
69 function GetSearchItems($item,&$xml){
70 preg_match_all("/<".$item.">([^<]+?)</",$xml,$m);