From: matt@... (matt neuburg) Date: 2008-09-20T04:52:20+09:00 Subject: Re: Question about REXML Brad wrote: > When I use the IRB and do: > require "rexml/document" > include REXML > doc = Document.new File.new("mydoc.xml") > > I get an error: > ... > > I copied the source file right from the website and created an XML > document called 'mydoc.xml' > > Why is it failing? It isn't. :) Say puts doc ...and you will see that all is well. m. -- matt neuburg, phd = matt@tidbits.com, http://www.tidbits.com/matt/ Leopard - http://www.takecontrolbooks.com/leopard-customizing.html AppleScript - http://www.amazon.com/gp/product/0596102119 Read TidBITS! It's free and smart. http://www.tidbits.com