## Retrieve the Document Summary information for a set of
## UIDs frome the Gene datanase.
ds <- esummary(c("828392", "790", "470338"), "gene")
## parse the XML into a data frame
df <- content(ds, "parsed")
df
## use XPath expressions to extract nodes of interest
ds['//TaxID']
Run the code above in your browser using DataLab