Sha256: 252244601fbf2b527e35254ffc05e3db48d40d9e1ca0d3cfbf9d4e5d992f3579

Contents?: true

Size: 532 Bytes

Versions: 1

Compression:

Stored size: 532 Bytes

Contents

module GeoCombine

  ##
  # FIXME: FGDC parsing, transformations are still experimental
  class Fgdc < Metadata

    ##
    # Returns a Nokogiri::XSLT object containing the FGDC to GeoBlacklight XSL
    # @return [Nokogiri::XSLT]
    def xsl_geoblacklight
      Nokogiri::XSLT(File.read('./lib/xslt/fgdc2geoBL.xsl'))
    end

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
geo_combine-0.0.3 lib/geo_combine/fgdc.rb