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: