C-DEngine 5.105

TheCommonUtils..::..cdeESCXML Method

Add escapes for XML special characters.

Namespace:  nsCDEngine.BaseClasses
Assembly:  C-DEngine (in C-DEngine.dll)

Syntax


public static string cdeESCXML(
	string strInput
)
Public Shared Function cdeESCXML ( _
	strInput As String _
) As String
public:
static String^ cdeESCXML(
	String^ strInput
)

Parameters

strInput
Type: String
The input string.

Return Value

The converted string.

Remarks


This function modifies a string to convert XML delimiter characters into their safe equivalent. Supported characters include ampersand, less than, greater than, quote, and apostrophe ("&", ">", "<", &"&, and "&").