escapeXML
This function is used by Ignition's Expression language.
Description
Returns the given string after being escaped to be valid for inclusion in XML. This means replacing XML special characters with their XML entity equivalents.
Syntax
escapeXML(string)
Parameters
- string string - The starting string.
Results
- string - A string that has been escaped for XML
Examples
Code Snippet
escapeXML("Use Navigate > PB to get to the Pork&Beans section.") //returns "Use Navigate > PB to get to the Pork&Beans section.