WordFile.OpenText
-----------------

Opens a word xml file from text.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [WordFile](component_WordFile.md) | [5.4](newinversion54.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "WordFile.OpenText"; XML ) 

**MBS**( **"WordFile.OpenText";** /\* Opens a word xml file from text. \*/  
**$XML**) /\* The xml text. \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| XML | The xml text. |  |

### Result

Returns reference number or error.

### Description

Opens a word xml file from text.  
Can be a xml file stored in a text.  
  
Reference numbers for WordFiles start at 46000.  
May break if newer versions of Microsoft Word or Office change the docx file format.  
### See also

- [WordFile.OpenFile](WordFileOpenFile.md)

### FileMaker Magazin

- [Ausgabe 6/2021, Seite 20](https://filemaker-magazin.de/neuigkeit/4165-Appetithappen-FMM_202106)

This function checks for a license.

Created 5th November 2015 , last changed 16th November 2019

  
[WordFile.OpenFile](WordFileOpenFile.md) - [WordFile.Parts](WordFileParts.md)

[HTML Version](WordFileOpenText.shtml)