Sha256: df8aff1b3dcd90d030bbed0bb1fd8c8cda0a680eba6ef9bd0c5963a5f079778b

Contents?: true

Size: 272 Bytes

Versions: 2

Compression:

Stored size: 272 Bytes

Contents

#!/usr/local/bin/ruby -w

require 'xml/libxml'
require "#{File.dirname(__FILE__)}/../ext/xml/libxslt"

xslt = XML::XSLT.file('fuzface.xsl')
xslt.doc = XML::Document.file('fuzface.xml')
s = xslt.parse
s.apply

File.open('fuzface.html', 'w') do |f|
  s.save(f)
end

s.print

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
libxsl-ruby-0.3.6 tests/fuzface.rb
libxslt-ruby-0.3.6 tests/fuzface.rb