xml-dsl
XML DSL in Ruby
Installation
$ gem install xml-dsl
Usage
Code:
require 'xml-dsl'
file = xml do
html do
head do
end
body do
end
end
end
puts fileOutput:
<html>
<head/>
<body/>
</html>For more examples, see examples directory.