Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

A simpler way to interact with XML in Ruby

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 lib
Octocat-spinner-32 .gitignore
Octocat-spinner-32 MIT-LICENSE
Octocat-spinner-32 README.md
Octocat-spinner-32 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.

Something went wrong with that request. Please try again.