SFU.decodeXmlValue()
- Last UpdatedAug 06, 2024
- 1 minute read
Use decodeXmlValue() method to decode all characters in the encoded XML value.
The following encoded characters are decoded as follows:
|
Encoded Value |
Decoded Value |
|---|---|
|
& |
& |
|
' |
' |
|
" |
" |
|
< |
< |
|
> |
> |
Syntax
sRetVal = SFU.decodeXmlValue(string);
Parameters
|
Parameter |
Description |
|---|---|
|
string |
String to be decoded. |
Return Value
This method returns a string value.
Example
// Decode encoded XML value.
SFU.decodeXmlValue(""Developer's" Guide");
//"Developer's" Guide is decoded as "Developer's" Guide.