--- title: "escapeXML()" slug: "string-escape-xml" updated: 2026-08-17T06:26:27Z published: 2026-08-17T06:26:27Z canonical: "docs.lobstersoftware.com/string-escape-xml" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.lobstersoftware.com/llms.txt > Use this file to discover all available pages before exploring further. # escapeXML() This function converts text **a** into a format that can be used in XML. This is achieved by using a CDATA block. ## Parameters | Parameter | Description | | --- | --- | | a | Text | ## Examples | Parameter a | Result | | --- | --- | | This is normal text including characters < & > | ]]> | XML (Extensible Markup Language) is a structured text format for storing and exchanging data. Content is enclosed within freely definable tags such as `<order>`. XML is human-readable, machine-processable, and platform-independent. In the Lobster Data Platform, you can receive, parse, and generate XML data.