CData.this

Construct a character data section

class CData
@safe pure
this
(
string content
)

Parameters

content string

the body of the character data segment

Throws

CDataException if the segment body is illegal (contains "]]>")

Examples

auto item = new CData("<b>hello</b>");
   // constructs <![CDATA[<b>hello</b>]]>

Meta