How do I use Nokogiri XML Builder with a field that is the word "text"?
Posted
by Angela
on Stack Overflow
See other posts from Stack Overflow
or by Angela
Published on 2010-05-31T02:29:02Z
Indexed on
2010/05/31
2:32 UTC
Read the original article
Hit count: 207
I think "text" must be a special form because when I use xml.text "hello" the tag doesn't appear in the xml doc. Whatever follows that tag is simply listed without a . I tried to use send.(:"text", "hello") but that doesn't work either.
Ideas?
© Stack Overflow or respective owner