Matthew Desmarais wrote:
> Brian Cowdery wrote:
> 
>> Recently at work we've decided to attempt to build a basic XML driven 
>> automation framework to work with Watir (a web development testing 
>> library for ruby).
>>
>> I cant figure out how to loop through each level of the REXML document 
>> to extract the data needed to build the complete object.

Have you looked at REXML's pull parser?

>> ...

> ... 
> Have you given any thought to using YAML instead of  XML?
> 

Why not not just use Ruby to describe the data?




-- 
James Britt

http://www.ruby-doc.org       - Ruby Help & Documentation
http://www.artima.com/rubycs/ - The Journal By & For Rubyists
http://www.rubystuff.com      - The Ruby Store for Ruby Stuff
http://www.30secondrule.com   - Building Better Tools