How To Parse Esearch Xml Output In Java?
1
0
Entering edit mode
10.8 years ago
burcakotlu ▴ 40

Hi to all,

My question is how to parse eSearch (Entrez eutil) xml output in java?

Burçak

java entrez • 2.1k views
ADD COMMENT
1
Entering edit mode
10.8 years ago

just like A: How to get a dbSNP data from java? but using the Esearch DTD:

$ xjc   -dtd  "http://eutils.ncbi.nlm.nih.gov/eutils/dtd/20060628/esearch.dtd"
parsing a schema...
compiling a schema...
generated/Count.java
generated/ERROR.java
generated/ESearchResult.java
generated/ErrorList.java
generated/FieldNotFound.java
generated/Id.java
generated/IdList.java
generated/OP.java
generated/ObjectFactory.java
generated/OutputMessage.java
generated/PhraseIgnored.java
generated/PhraseNotFound.java
generated/QueryKey.java
generated/QueryTranslation.java
generated/QuotedPhraseNotFound.java
generated/RetMax.java
generated/RetStart.java
generated/TermSet.java
generated/Translation.java
generated/TranslationSet.java
generated/TranslationStack.java
generated/WarningList.java
generated/WebEnv.java

or use a SAX Parser, or a StaX parser etc...

ADD COMMENT

Login before adding your answer.

Traffic: 1597 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6