From: Stephen Bannasch Date: 2006-07-23T23:26:54+09:00 Subject: xml builder not able to create namespaced elements w/attributes?? I'd like to be able to build a xm like this with builder: XML Builder has a way of making an element with a namespace (put a space before the colon, see: http://builder.rubyforge.org/): x.sailuserdata :ESession => "" And I can wrap my own elements easily: x.sailuserdata :ESession do x.mydata end => "" But I can't get it to add attributes. x.sailuserdata :ESession("key" => "123") SyntaxError: compile error (irb):49: parse error, unexpected '(', expecting $ x.sailuserdata :ESession("key" => "123") ^ from (irb):49 from :0 Any ideas on how I can fix (or work around) this? Thanks