Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   Crossplatform   Server (Not)   Client   Components   Old   Guides
New in version: 5.0   5.1   5.2   5.3   5.4   6.0   6.1   6.2   6.3   6.4   6.5   7.0   7.1    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.


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 Real Studio Plugins - Pfarrgemeinde St. Arnulf Nickenich