EscapeXml Function

  • Updated

The EscapeXml function replaces invalid XML characters (ampersand, less than, greater than, quote, and apostrophe) in a string with their valid XML equivalent.

Syntax

 

The EscapeXml function replaces invalid XML characters (ampersand, less than, greater than, quote, and apostrophe) in a string with their valid XML equivalent.

 

EscapeXml(string)

 

 

Arguments:

 

 

 

string

String - The string to convert.

Remarks

  • Example: EscapeXml("<address>Hollywood & Vine</address>") returns "&lt;address&gt;Hollywood &amp; Vine&lt;/address&gt;".

Was this article helpful?

0 out of 0 found this helpful

Comments

0 comments

Article is closed for comments.