Sha256: d22c9f920e725f0d4824e4a9bc3b40509438f188e70c4b88d32ac5740699a488

Contents?: true

Size: 538 Bytes

Versions: 1

Compression:

Stored size: 538 Bytes

Contents

module GeoCombine
  class Iso19139 < Metadata

    ##
    # Returns a Nokogiri::XSLT object containing the ISO19139 to GeoBlacklight
    # XSL
    # @return [Nokogiri::XSLT]
    def xsl_geoblacklight
      Nokogiri::XSLT(File.read(File.join(File.dirname(__FILE__), '../xslt/iso2geoBL.xsl')))
    end

    ##
    # Returns a Nokogiri::XSLT object containing the ISO19139 to HTML XSL
    # @return [Nokogiri:XSLT]
    def xsl_html
      Nokogiri::XSLT(File.read(File.join(File.dirname(__FILE__), '../xslt/iso2html.xsl')))
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
geo_combine-0.0.4 lib/geo_combine/iso19139.rb