Sha256: debff9677c21df8a6788bc209521efb07b357fc1a95610323f1474776922b7ef

Contents?: true

Size: 361 Bytes

Versions: 14

Compression:

Stored size: 361 Bytes

Contents

require 'xml'

ns = XML::Namespace.new(XML::Node.new('xxx'), 'soap', 'http://schemas.xmlsoap.org/soap/envelope/')


d = XML::Document.new
nr = XML::Node.new('root', 'text')
d.root = nr
n2 = XML::Node.new('element', 'content')
nr << n2
puts d.to_s

n2.namespaces.namespace = ns
nr.namespaces.namespace = ns
puts d.to_s

n2.namespaces.namespace = ns
puts d.to_s

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
rspreadsheet-0.2.15 investigate.rb
rspreadsheet-0.2.14 investigate.rb
rspreadsheet-0.2.12 investigate.rb
rspreadsheet-0.2.11 investigate.rb
rspreadsheet-0.2.10 investigate.rb
rspreadsheet-0.2.9 investigate.rb
rspreadsheet-0.2.7 investigate.rb
rspreadsheet-0.2.5 investigate.rb
rspreadsheet-0.2.4 investigate.rb
rspreadsheet-0.2.3 investigate.rb
rspreadsheet-0.2.0 investigate.rb
rspreadsheet-0.1.1 investigate.rb
rspreadsheet-0.1.0 investigate.rb
rspreadsheet-0.0.6 investigate.rb