Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2   11.3   11.4    Statistic    FMM    Blog  

Text.EncodeToXML

Encodes text as xml.

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

(old name: String.EncodeToXML)

Parameters

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

Result

The encoded text.

Description

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).

Examples

Encode text as xml:

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

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

See also

Example Databases

Blog Entries

FileMaker Magazin

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


Text.EncodeToURL - Text.EncodeURLComponent

Feedback: Report problem or ask question.




Links
MBS Xojo Plugins

Start Chat