Text.DecodeFromXML
------------------

Decodes xml text.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [Text](component_Text.md) | [4.3](newinversion43.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "Text.DecodeFromXML"; Text ) 

**MBS**( **"Text.DecodeFromXML";** /\* Decodes xml text. \*/  
**$Text**) /\* The text you want to decode.e.g. "test &amp;lt; this" \*/ 

(old name: String.DecodeFromXML)

### Parameters

| Parameter | Description | Example |
|---|---|---|
| Text | The text you want to decode. | "test &amp;lt; this" |

### Result

The decoded text.

### Description

Decodes xml text.  
Removes escaping for special characters.  
  
See also [Text.DecodeFromHTML](TextDecodeFromHTML.md) to decode html entities.  
### Examples

Decode xml text

 MBS ( "Text.DecodeFromXML"; "test &amp;lt; this" )  
<small>  
Example result: test &lt; this</small>### See also

- [Text.DecodeFromBytes](TextDecodeFromBytes.md)
- [Text.DecodeFromHex](TextDecodeFromHex.md)
- [Text.DecodeFromHTML](TextDecodeFromHTML.md)
- [Text.DecodeFromURL](TextDecodeFromURL.md)
- [XML.Query](XMLQuery.md)

### Example Databases

- [Text functions/Text Styles](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Text%20functions/Text%20Styles.shtml#7ScriptAnchor_)

### Blog Entries

- [MBS FileMaker Plugin, version 5.1pr1](https://www.mbsplugins.de/archive/2015-03-16/MBS_FileMaker_Plugin_version_5/monkeybreadsoftware_blog_filemaker)
- [MBS Filemaker Plugin, version 4.3pr3](https://www.mbsplugins.de/archive/2014-07-22/MBS_Filemaker_Plugin_version_4/monkeybreadsoftware_blog_filemaker)

### FileMaker Magazin

- [Ausgabe 4/2016, Seite 19](https://filemaker-magazin.de/neuigkeit/3876-Appetithappen-FMM_201604)

This function checks for a license.

Created 18th August 2014 , last changed 16th April 2020

  
[Text.DecodeFromURL](TextDecodeFromURL.md) - [Text.DecodeHexFromBase64](TextDecodeHexFromBase64.md)

[HTML Version](TextDecodeFromXML.shtml)