Sha256: 2e35af747d09c941828f066814c4cb695708d6becb4ee34ba48a1bdc741934a3

Contents?: true

Size: 361 Bytes

Versions: 1

Compression:

Stored size: 361 Bytes

Contents

require "../xslt"

xslt = XML::XSLT.new()
xslt.xsl = "test.xsl"
xslt.xml = "test.xml"
xslt.parameters = { "p1" => "the first parameter ...",
                    "p2" => "'and the second one!'" }
#xslt.save("test.html")
puts xslt.serve
xslt.parameters = { "p1" => "Ruby...",
                    "p2" => "'...is cool !'" }
#xslt.save("test.html")
puts xslt.serve

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ruby-xslt-0.9.2 examples/test_parameters.rb