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


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



Input Parameters

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



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


>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.