# File lib/xtemplate.rb, line 75
    def XMLTemplate.load(str)
      if( str.respond_to?(:read) )
        str = str.read
      end
      Marshal.load(str.unpack("m")[0])
    end