![]() ![]() |
Reference Type: Supported, Category: XML Parser (VistA), ICR#: 4153
The $$SYMENC^MXMLUTL extrinsic function replaces reserved Extensible Markup Language (XML) symbols in a string with their XML encoding for strings used in an XML message.
$$SYMENC^MXMLUTL(str)
str: | (required) String to be encoded in an XML message. |
returns: |
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't &"<XML>" safe as is. |