I was playing around with REXML and feeding it the RSS feed from
slashdot.
Running this:
require 'rexml/document
REXML::Document.new(open("slashdot.xml")).write
I got output with empty <link> elements:
<item
rdf:about='http://science.slashdot.org/article.pl?sid=05/09/26/1551241&a
mp;from=rss'>
<title>Technology for Capturing 360 Degree Video</title>
<link/>
<dc:creator>ScuttleMonkey</dc:creator>
<dc:date>2005-09-26T18:01:00+00:00</dc:date>
<dc:subject>tech</dc:subject>
<slash:department>even-guesswork-can't-save-most-hollywood-pictures</sla
sh:department>
I'm running ruby from the one-click installer: ruby 1.8.2 (2004-12-25)
[i386-mswin32]
···
#####################################################################################
This email has been scanned by MailMarshal, an email content filter.
#####################################################################################