Sha256: f56d7f16fbb3fd1969468c9c1346519ca88386acf3db78c9d371c45f26c96b06

Contents?: true

Size: 577 Bytes

Versions: 10

Compression:

Stored size: 577 Bytes

Contents

require_relative 'saxon/version'
require_relative 'saxon/processor'

# An idiomatic Ruby wrapper around the Saxon XML processing library.
module Saxon
  # Parse an XML document using a vanilla {DocumentBuilder} from the default
  # {Processor}
  # @see Saxon::Processor#XML
  def self.XML(input, opts = {})
    Processor.default.XML(input, opts)
  end

  # Compile an XSLT Stylesheet using a new {XSLT::Compiler} from the default
  # {Processor}
  # @see Saxon::Processor#XSLT
  def self.XSLT(input, opts = {}, &block)
    Processor.default.XSLT(input, opts, &block)
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
saxon-rb-0.8.3-java lib/saxon.rb
saxon-rb-0.8.2-java lib/saxon.rb
saxon-rb-0.8.1-java lib/saxon.rb
saxon-rb-0.8.0-java lib/saxon.rb
saxon-rb-0.7.3-java lib/saxon.rb
saxon-rb-0.7.2-java lib/saxon.rb
saxon-rb-0.7.1-java lib/saxon.rb
saxon-rb-0.7.0-java lib/saxon.rb
saxon-rb-0.6.0-java lib/saxon.rb
saxon-rb-0.5.0-java lib/saxon.rb