[Utilities-announce] NCBI ESearch change

utilities-announce at ncbi.nlm.nih.gov utilities-announce at ncbi.nlm.nih.gov
Mon May 3 14:37:16 EDT 2004


The XML output format for ESearch will soon change when a single term is
searched and it is not found in the database.

For example, the current XML output format when searching ddddcccc is:

<?xml version="1.0"?>
<!DOCTYPE eSearchResult PUBLIC "-//NLM//DTD eSearchResult, 11 May 2002//EN"
"http://www.ncbi.nlm.nih.gov/entrez/query/DTD/eSearch_020511.dtd">
<eSearchResult>
	<ERROR>Can't run executor</ERROR>
	<ErrorList>
		<PhraseNotFound>ddddcccc</PhraseNotFound>
	</ErrorList>
	<WarningList>
		<OutputMessage>No items found.</OutputMessage>
	</WarningList>
</eSearchResult>


The new XML output format will change to:

<?xml version="1.0"?>
<!DOCTYPE eSearchResult PUBLIC "-//NLM//DTD eSearchResult, 11 May 2002//EN"
"http://www.ncbi.nlm.nih.gov/entrez/query/DTD/eSearch_020511.dtd">
<eSearchResult>
	<Count>0</Count>
	<RetMax>0</RetMax>
	<RetStart>0</RetStart>
	<IdList>
	</IdList>
	<TranslationSet>
	</TranslationSet>
	<ErrorList>
		<PhraseNotFound>ddddcccc</PhraseNotFound>
	</ErrorList>
	<WarningList>
		<OutputMessage>No items found.</OutputMessage>
	</WarningList>
</eSearchResult>

Please send your E-Utilities questions to eutilities at ncbi.nlm.nih.gov.

Regards,
The PubMed Team



More information about the Utilities-announce mailing list