Ruby xml & Cdata

Hello

I try to make :
I did: xml.id("<![CDATA[1]]")
But it results : <![CDATA[1]

I guess this is newbye question, but i haven’t found any solution to
avoid “<” to be escaped…

Any idea ?

xml.id{ xml.cdata!(1)}

Found ! :wink:

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs