XMLCData - Maple Help

# Online Help

###### All Products    Maple    MapleSim

XMLTools

 XMLCData
 XML CDATA constructor

 Calling Sequence XMLCData(s)

Parameters

 s - string; text of the CDATA section

Description

 • The XMLCData(s) command takes the text of a CDATA section s and returns it as an XML data structure in the form of a Maple XML tree.
 By using this function, you can include a CDATA section in any Maple representation of an XML document.

Examples

 > $\mathrm{with}\left(\mathrm{XMLTools}\right):$
 > $\mathrm{XMLCData}\left("This is some CDATA with embedded markupNot even a close tag!"\right)$
 ${\mathrm{_XML_CDATA}}{}\left({"This is some CDATA with embedded markupNot even a close tag!"}\right)$ (1)

 See Also