$$XMLHDR |
This extrinsic function returns a standard extensible
markup language (XML) header for encoding XML messages. Example:
>S X=$$XMLHDR^MXMLUTL
>W X
<?xml version="1.0" encoding="utf-8" ?>
|
|
$$SYMENC(str) |
This extrinsic function replaces reserved XML symbols
in a string with their XML encoding for strings used in an extensible markup
language (XML) message.
Output: 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't &"<XML>" safe as is.
|
VARIABLES |
TYPE |
VARIABLES DESCRIPTION |
str |
Input |
String to be encoded for an XML message.
|
|