Displaying 1 result from an estimated 1 matches for "healthday".
Did you mean:
healthd
2006 Jun 24
1
Parsing XML with REXML problem
...r(FeedXMLParser)
iterations = 10
Benchmark.bm do |x|
x.report { for i in 1..iterations; docparser.call; end }
end
# display the results
art docparser.call
Here is a snippet of xml that i am trying to parse:
<?xml version="1.0"?>^M
<!DOCTYPE newsfeed SYSTEM "http://www.healthday.com/newsfeed.dtd">^M
<newsfeed>
<article id="533276" posting_date="21-Jun-2006"
archive_date="14-Jun-2007">^M<news_type>FYI</news_type>^M
<headline><![CDATA[Health Tip: Eaten Bad Food?]]></headline>^M
<blurb><!...