• Parameters

    • text: string

      the text content to be placed inside the CData

    Returns CDATASection

    a CDATA containing the given text.

    Description

    Create a CDATASection containing text from the method parameter. The CDATA is useful to wrap text which may contain invalid characters or characters in need of escaping.