This repository has been archived by the owner. It is now read-only.
[abandoned] A simpler way to interact with XML in Ruby
Ruby
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
.gitignore
MIT-LICENSE
README.md
roxo.gemspec

README.md

What is?

ROXO (Ruby Objects for XML Objects) is a simple wrapper that uses LibXML to let you traverse an XML document using ruby method calls.

How do I make it go?

require 'roxo'
roxo = ROXO.new("<foo bar='zxcv'><qux><quux>corge</quux></qux><qux>grault</qux></foo>")
roxo.bar #=> "zxcv"
roxo.quxes #=> [#<ROXO:0x03158150>, "grault"]
roxo.quxes.first.quux #=> "corge"

Is there anything else I need to know?

No.