Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

xml_cdata

Construct a cdata node


Description

Construct a cdata node

Usage

xml_cdata(content)

Arguments

content

The CDATA content, does not include <![CDATA[

Examples

x <- xml_new_root("root")
xml_add_child(x, xml_cdata("<d/>"))
as.character(x)

xml2

Parse XML

v1.3.2
GPL (>= 2)
Authors
Hadley Wickham [aut], Jim Hester [aut, cre], Jeroen Ooms [aut], RStudio [cph], R Foundation [ctb] (Copy of R-project homepage cached as example)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.