STR2XMLDATA
Usage
TIBCO iProcess Workspace (Browser)
TIBCO iProcess Workspace (Windows)
Converts a text string such that it is suitable for embedding in an XML document. For example, it converts any XML special characters such as ' " & < or > to the XML escape sequences in the format &xxx;.
See XMLDATA2STR to reverse the process.
Syntax
STR2XMLDATA (text)
where:
• | text is the text string to be operated upon. |
The following table lists the characters and their corresponding converted value.
Character |
Converted to |
---|---|
& |
& |
< |
< |
> |
> |
" |
" |
' |
' |
Returns
The modified text string.
Examples
STR2XMLDATA (“PREBILL <> 1 AND PAPERWORK = 'Y' AND COMPANY = \"Smith & Smith\" AND SW_STARTEDDATE > !2002/02/02!”)
returns "PREBILL <> 1 AND PAPERWORK = 'Y' AND COMPANY = \"Smith & Smith\" AND SW_STARTEDDATE > !2002/02/02!
"