Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • $\begingroup$ Welcome to Mathematica.SE! 1) As you receive help, try to give it too, by answering questions in your area of expertise. 2) Take the tour and check the help center! 3) When you see good questions and answers, vote them up by clicking the vote triangles, because the credibility of the system is based on the reputation gained by users sharing their knowledge. Also, please remember to accept the answer, if any, that solves your problem, by clicking the checkmark sign! $\endgroup$ Commented Oct 14, 2015 at 11:30
  • 1
    $\begingroup$ I receive no errors and your code works fine on my computer (MMA 10.2, Win7-64). If the problem persists on your end, you could also try using Import directly: Import["http://eutils.ncbi.nlm.nih.gov/entrez/eutils/efetch.fcgi?db=protein&id=8&rettype=xml", "XML"] which seems to produce the same results. $\endgroup$ Commented Oct 14, 2015 at 13:43
  • $\begingroup$ Thanks Marco. It's strange, I am getting the same error. I actually made a little mistake in what I copy/pasted to you, it should be retmode instead of rettype: In[171]:= Import["eutils.ncbi.nlm.nih.gov/entrez/eutils/… During evaluation of In[171]:= XMLParserXMLGet::prserr: MalformedURLException: The URL used an unsupported protocol at Line: 2 Character: 99 in /var/folders/ll/cl5jhpqx40s__jv4_blwsq5h0000gn/T/m000009227691/efetch.fcgi. >> During evaluation of In[171]:= Import::fmterr: Cannot import data as XML format. >> $\endgroup$ Commented Oct 14, 2015 at 14:37