Class: Dbxml::XmlQueryContext

Inherits:
Object
  • Object
show all
Defined in:
lib/rdbxml.rb

Overview

Wraps and extends the XmlQueryContext class.

Aliases

namespace

getNamespace/setNamespace

collection

getDefaultCollection/setDefaultCollection

Instance Method Summary collapse

Instance Method Details

#[](name) ⇒ Object



109
110
111
# File 'lib/rdbxml.rb', line 109

def []( name )
  getVariableValue name.to_s
end

#[]=(name, val) ⇒ Object



114
115
116
# File 'lib/rdbxml.rb', line 114

def []=( name, val ) # :nodoc:
  setVariableValue name.to_s, Dbxml::XmlValue.new(val)
end