cdata: Create CDATA element string from string.

View source: R/gifti_xml_tools.R

cdataR Documentation

Create CDATA element string from string.

Description

Create CDATA element string from string.

Usage

cdata(string)

Arguments

string

character string, the input string, freeform text. Must not contain the cdata start and end tags.

Value

character string, the input wrapped in the cdata tags

Note

This returns a string, not an XML node. See xml_cdata if you want a node.


freesurferformats documentation built on May 29, 2024, 5:29 a.m.