XML CDATA for Pubmed XML using Sax Parser [closed]

Snatagest

New Member
I'm using Sax to parse XML files from PubMed. It's actually an update of an old app called "MedlineParser", which parses the XML to MySQL. Everything works fine, except that I need to add CDATA into a node, and I cannot get Sax to accept and parse the data inside the CDATA. I'm fairly new to java so I'm sure there is something simple that I'm not seeing, and I have tried many different variations. The (abbreviated) XML file is like this:\[code\] <PubmedArticleSet> <PubmedArticle> <MedlineCitation Owner="NLM" Status="MEDLINE"> <PMID Version="1">20868572</PMID> .... <Abstract> <![CDATA[ <AbstractText Label="OBJECTIVES" NlmCategory="OBJECTIVE">To investigate the prevalence and levels of anti-cyclic citrullinated peptide antibodies (anti-CCP) in patients with familial Mediterranean fever (FMF) with and without arthritis.</AbstractText> <AbstractText Label="METHODS" NlmCategory="METHODS">Values <20U were considered negative, between 20 and 39U low, 40-99U moderate, and >100U high positive.</AbstractText> <AbstractText Label="RESULTS" NlmCategory="RESULTS">Positivity rate of anti-CCP in the whole FMF group (14.5%) was three-fold higher than the control group (4.7%). However, the difference failed to achieve a statistically significant level (p=0.09). Anti-CCP levels were 21
 
Back
Top