Kernel 8.0 APIs Banner [skip navigation]
Office of Information & Technology (OIT) Banner

$$SYMENC^MXMLUTL(): XML—Encoded Strings in Messages

Reference Type: Supported, Category: XML, Integration Agreement: 4153

Description

This extrinsic function replaces reserved XML symbols in a string with their XML encoding for strings used in an extensible markup language (XML) message.

Format

  $$SYMENC^MXMLUTL(str)

Input Parameters

str: (required) String to be encoded in an XML message.

Output

returns:

Returns the input string with XML encoding replacing reserved XML symbols.

Example

>S X=$$SYMENC^MXMLUTL("This line isn't &""<XML>"" safe as is.")

>W X
This line isn&apos;t &amp;&quot;&lt;XML&gt;&quot; safe as is.


VA (Internet) / VA(Intranet) / OI / PD / Site Map / Terms of Use / VA Privacy Policy / Accessibility

Reviewed/Updated: August 26, 2011

If you have questions, need more information, or are having accessibility problems with this Web site, please contact us by E-Mail: Webmasters, Phone: 510-768-6800, or FAX: 510-768-6850.