File: fuzface_XML-Simple.rb

package info (click to toggle)
libxslt-ruby 0.9.2-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 368 kB
  • ctags: 374
  • sloc: ansic: 2,965; ruby: 333; xml: 145; makefile: 5
file content (12 lines) | stat: -rw-r--r-- 212 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/ruby -w

require 'xml/smart'
require '../xslt'

xslt = XML::XSLT.new()

xslt.xml = XML::Smart.open( "fuzface.xml" )
xslt.xsl = XML::Smart.open( "fuzface.xsl" )

out = xslt.serve()
puts out