powered by
Construct a cdata node
xml_cdata(content)
The CDATA content, does not include <![CDATA[
<![CDATA[
x <- xml_new_root("root") xml_add_child(x, xml_cdata("")) as.character(x)
Run the code above in your browser using DataLab