ruby-hpricot.rb 92 B

1234567
  1. #!/usr/bin/ruby -w
  2. require 'hpricot'
  3. xml = File.read(ARGV[0])
  4. doc = Hpricot(xml)
  5. puts doc