Hi there,
I try to check out what's the best way to create a small XML File (need
it for a bank transfer)
Anyway: I try the following under the ruby console:
require 'builder'
x = Builder::XmlMarkup.new
x.instruct!
test = x.Hello("World!", "type" => "global")
What I receive in test is the following:
<inspect/>
<?xml version=\"1.0\" encoding=\"UTF-8\"?>
<Hello type=\"global\">World!</Hello>"
So how can I get rid of the <inspect/> element. I think this file is A
BIT against the W3C XML standard.
Thanks for any advices,
Holm
--
Posted via http://www.ruby-forum.com/.