Displaying 2 results from an estimated 2 matches for "news_typ".
Did you mean:
news_type
2006 Jun 24
1
Parsing XML with REXML problem
...ticle'') do |article|
art = Article.new
art.id = article.attributes[''id'']
art.post = article.attributes[''posting_date'']
art.archive = article.attributes[''archive_date'']
art.ntype = article.elements[''news_type'']
art.head = article.elements[''headline''].text
art.blurb = article.elements[''blurb''].text
art.body = article.elements[''body''].text
art.fblurb = article.elements[''feature_blurb''].text
art....
2006 Jun 26
0
DBI question. How do I load a database with data parsed from REXML?
...TICLE'') do |article|
p = Article.new
p.id = article.attributes[''ID'']
p.post = article.attributes[''POSTING_DATE'']
p.archive = article.attributes[''ARCHIVE_DATE'']
p.ntype = article.elements[''NEWS_TYPE'']
p.head = article.elements[''HEADLINE''].text
p.blurb = article.elements[''BLURB''].text
p.body = article.elements[''BODY''].text
p.fblurb = article.elements[''FEATURE_BLURB''].text
p....