Class: GeoCombine::Fgdc
Overview
FIXME: FGDC parsing, transformations are still experimental
Instance Attribute Summary
Attributes inherited from Metadata
Instance Method Summary collapse
-
#xsl_geoblacklight ⇒ Nokogiri::XSLT
Returns a Nokogiri::XSLT object containing the FGDC to GeoBlacklight XSL.
-
#xsl_html ⇒ Nokogiri:XSLT
Returns a Nokogiri::XSLT object containing the ISO19139 to HTML XSL.
Methods inherited from Metadata
#initialize, #to_geoblacklight, #to_html
Constructor Details
This class inherits a constructor from GeoCombine::Metadata
Instance Method Details
#xsl_geoblacklight ⇒ Nokogiri::XSLT
Returns a Nokogiri::XSLT object containing the FGDC to GeoBlacklight XSL
10 11 12 |
# File 'lib/geo_combine/fgdc.rb', line 10 def xsl_geoblacklight Nokogiri::XSLT(File.open(File.join(File.dirname(__FILE__), '../xslt/fgdc2geoBL.xsl'))) end |
#xsl_html ⇒ Nokogiri:XSLT
Returns a Nokogiri::XSLT object containing the ISO19139 to HTML XSL
17 18 19 |
# File 'lib/geo_combine/fgdc.rb', line 17 def xsl_html Nokogiri::XSLT(File.open(File.join(File.dirname(__FILE__), '../xslt/fgdc2html.xsl'))) end |