0.0
Low commit activity in last 3 years
No release in over a year
Generates XML, by producing an array of raw XML elements which can parsed by the Rexle gem.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies
 Project Readme

Introducing the rexle-builder gem

xml = RexleBuilder.new
a = xml.root do
  xml.fun do
    xml.tree({country: 'Canada'}, 'mahogany')
  end
  xml.green 'leaves'
end

Rexle.new(a).xml
#=> <?xml version='1.0' encoding='UTF-8'?>\n<root><fun><tree country='Canada'>mahogany</tree></fun><green>leaves</green></root></pre>

The rexle-builder gem accepts builder style markup and returns a nested array suitable for parsing by Rexle.

Resources:

builder gem rexlebuilder ruby xml