Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides
New in version: 6.0   6.1   6.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3    Statistic  


Encodes text as xml.

Component: Text
Version: 4.3
Mac OS X: Yes
Windows: Yes
Server: Yes
FileMaker Cloud: Yes

MBS( "Text.EncodeToXML"; text )

(old name: String.EncodeToXML)


Parameter Description Example value
text The text you want to encode. "Grüße"


The encoded text.


Encodes text as xml.
Only escapes quotes, ampersand, smaller and greater characters.
If you need all html entities to be encoded, please use Text.EncodeToHTML instead.
Lower ASCII control characters are ignored (removed).


Encode text as xml:

MBS( "Text.EncodeToXML"; "Grüße <test>" )

Example result: "Grüße &lt;test&gt;"

See also

Text.EncodeToURL   -   Text.EncodeURLComponent

Feedback: Report problem or ask question.

MBS FileMaker Plugins - Nachhilfe in Kruft