Class: GeoCombine::Iso19139

Inherits:
Metadata show all
Defined in:
lib/geo_combine/iso19139.rb

Instance Attribute Summary

Attributes inherited from Metadata

#metadata

Instance Method Summary collapse

Methods inherited from Metadata

#initialize, #to_geoblacklight, #to_html

Constructor Details

This class inherits a constructor from GeoCombine::Metadata

Instance Method Details

#xsl_geoblacklightNokogiri::XSLT

Returns a Nokogiri::XSLT object containing the ISO19139 to GeoBlacklight XSL


8
9
10
# File 'lib/geo_combine/iso19139.rb', line 8

def xsl_geoblacklight
  Nokogiri::XSLT(File.open(File.join(File.dirname(__FILE__), '../xslt/iso2geoBL.xsl')))
end

#xsl_htmlNokogiri:XSLT

Returns a Nokogiri::XSLT object containing the ISO19139 to HTML XSL


15
16
17
# File 'lib/geo_combine/iso19139.rb', line 15

def xsl_html
  Nokogiri::XSLT(File.open(File.join(File.dirname(__FILE__), '../xslt/iso2html.xsl')))
end