Sinatra-XSLView
Summary: XSL Sinatra Helper
Description
Simple helper function to render XML via an XSL stylesheet.
Usage
In the Sinatra application (on Debian):
require 'xml/xslt'
require 'sinatra/xslview'
get '/entries' do
# Using DataMapper
@myentries = Entry.all
# Example of using xslview and how xslviews could be chained together
myxml = builder :'xml/entries'
stepone = xslview myxml, '/path/to/views/xsl/entries.xsl'
stepone
end