Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 7.5   8.0   8.1   8.2   8.3   8.4   8.5   9.0   9.1   9.2    Statistic  


Encodes text as xml.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
Text 4.3 Yes Yes Yes Yes Yes
MBS( "Text.EncodeToXML"; text )   More

(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

Example Databases

Blog Entries

Created 18th August 2014, last changed 27th April 2017

Text.EncodeToURL   -   Text.EncodeURLComponent

Feedback: Report problem or ask question.

MBS Xojo Chart Plugins