Hi All,

I have used Builder XMLMarkup in a ruby script. For one of the xml tags
that i am creating, i want the text to be in CDATA section. How would
get to do this. Below is a tag that i create which has values from a
hash:

x.summary "#{value.split(%r{,\s*})[2]}"

x - is the XMLMarkup builder object that is used to create xml tags.

The builder xmlMarkup API shows example as this:
xml.cdata!("text to be included in cdata")

I tried but having issues in passing this cdata! argument to my custom
tag above.

Help much appreciated.

-- 
Posted via http://www.ruby-forum.com/.