Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
icleversoft committed Jan 23, 2012
1 parent 2993214 commit 288d18f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/marc/dublincore.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module MARC
include 'xslt'
include 'nokogiri'
require 'nokogiri'
# A class for mapping MARC records to Dublin Core

class DublinCore
Expand Down Expand Up @@ -80,7 +80,7 @@ def self.unimarcmap(record)
record.xml.gsub!(/\record.[^\>]+/, '<record')

xml_doc = XML::Document.string( record )
style_doc = XML::Document.file( 'unimarc2readable.xsl' )
style_doc = XML::Document.file( 'xsl/unimarc/unimarc2readable.xsl' )
stylesheet = LibXSLT::XSLT::Stylesheet.new( style_doc )

#Apply StyleSheet
Expand Down

0 comments on commit 288d18f

Please sign in to comment.