B
Boris Glawe
Hi,
I am trying to parse an xml file on my fedora Core 3 machine.
I started with a tutorial from this site:
http://www.germane-software.com/software/rexml/docs/tutorial.html
#!/usr/bin/ruby
require "rexml/document"
file = File.new( "mydoc.xml" )
doc = REXML:ocument.new file
When executing this trivial peace of code I get the message:
/usr/lib/ruby/1.8/rexml/element.rb:2:in `require': No such file to load --
rexml/namespace (LoadError)
from /usr/lib/ruby/1.8/rexml/element.rb:2
from /usr/lib/ruby/1.8/rexml/document.rb:1:in `require'
from /usr/lib/ruby/1.8/rexml/document.rb:1
from ./test.rb:3:in `require'
from ./test.rb:3
What's the problem? Is something wrong in the code or is my installation missing
this "rexml/namespace" file?
This for any hint.
greets Boris
I am trying to parse an xml file on my fedora Core 3 machine.
I started with a tutorial from this site:
http://www.germane-software.com/software/rexml/docs/tutorial.html
#!/usr/bin/ruby
require "rexml/document"
file = File.new( "mydoc.xml" )
doc = REXML:ocument.new file
When executing this trivial peace of code I get the message:
/usr/lib/ruby/1.8/rexml/element.rb:2:in `require': No such file to load --
rexml/namespace (LoadError)
from /usr/lib/ruby/1.8/rexml/element.rb:2
from /usr/lib/ruby/1.8/rexml/document.rb:1:in `require'
from /usr/lib/ruby/1.8/rexml/document.rb:1
from ./test.rb:3:in `require'
from ./test.rb:3
What's the problem? Is something wrong in the code or is my installation missing
this "rexml/namespace" file?
This for any hint.
greets Boris