I have an svg:text node, and I want to add HTML code inside it. Actually, my code is:
You have to use the foreignObject tag, for example:
foreignObject
Gmail
See also here http://www.w3.org/TR/SVG/extend.html and https://developer.mozilla.org/en/SVG/Element/foreignObject