Skip to content

raviqqe/xml-dsl.rb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

88 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

xml-dsl

Gem Version Build Status License

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 file

Output:

<html>
    <head/>
    <body/>
</html>

For more examples, see examples directory.

License

The Unlicense

About

XML DSL and generator in Ruby

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published