Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
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 <test>"
See also
Example Databases
- CURL/WebServices/magento older
- CURL/WebServices/Sales Force Test
- CURL/WebServices/Swiss Post Addresscheck V4-02-00
- CURL/WebServices/Swiss Post Addresscheck
Blog Entries
- LogicalDOC Webservice
- Using Apple's Global Service Exchange web service in FileMaker
- Swiss Post Webservice to verify addresses
- MBS FileMaker Plugin, version 5.2pr1
- MBS Filemaker Plugin, version 4.3pr3
FileMaker Magazin
This function checks for a license.
Created 18th August 2014, last changed 27th April 2017