lib/mabmapper/mab_xml/document.rb in mabmapper-1.0.0.pre15 vs lib/mabmapper/mab_xml/document.rb in mabmapper-1.0.0.pre16
- old
+ new
@@ -4,9 +4,11 @@
module Mabmapper
module MabXml
class Document
include QueryHelper
+ attr_accessor :xml
+
def initialize(contents)
@xml = Nokogiri::XML(contents)
@xml.remove_namespaces!
end