Saxon.Load
----------

Loads newer Saxon library.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [Saxon](component_Saxon.md) | [15.0](newinversion150.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No |

MBS( "Saxon.Load"; Path ) 

**MBS**( **"Saxon.Load";** /\* Loads newer Saxon library. \*/  
**$Path**) /\* The native path to the library. \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| Path | The native path to the library. |  |

### Result

Returns OK or error.

### Description

Loads newer Saxon library.  
You need to pass the path to the Saxon library and the plugin loads it.  
If the library file is in the same folder as the plugin, you only need to pass the file name.  
  
Download libraries here:  
<https://www.monkeybreadsoftware.com/filemaker/files/Libs/Saxon/>  
  
For macOS, Linux or Windows. But not for Windows 32-bit, but only 64-bit.  
### Examples

Load the library on Mac:

 Set Variable \[ $r ; Value: MBS ("Saxon.Load"; "libsaxonc-core-ee.12 .7.0 .dylib") \]  
Show Custom Dialog \[ "Saxon loaded" ; $r \]  
Load the library:

 Set Variable \[ $path ; Value: "" \]  
\# you may need to put in your path or have the libraries in the folder for the plugin   
If \[ MBS ("IsMacOS") \]  
 Set Variable \[ $path ; Value: "libsaxonc-core-ee.12 .7.0 .dylib" \]  
Else If \[ MBS ("IsWindows") \]  
 Set Variable \[ $path ; Value: "saxonc-core-ee.dll" \]  
Else If \[ MBS ("IsLinux") \]  
 Set Variable \[ $path ; Value: "libsaxonc-core-ee.so.12 .7.0 " \]  
End If  
\#   
Set Variable \[ $r ; Value: MBS ( "Saxon.Load"; $Path ) \]  
If \[ MBS ("IsError") \]  
 Show Custom Dialog \[ "Failed to load saxon library." ; $r \]  
Else  
 Show Custom Dialog \[ "saxon loaded" ; MBS ("[Saxon.Version](SaxonVersion.md)") \]  
End If  
### See also

- [IsError](IsError.md)
- [IsLinux](IsLinux.md)
- [IsMacOS](IsMacOS.md)
- [IsWindows](IsWindows.md)
- [Saxon.Version](SaxonVersion.md)

### Example Databases

- [DynaPDF/ZUGFeRD and Facture-X/ZUGFeRD Validation](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/DynaPDF/ZUGFeRD%20and%20Facture-X/ZUGFeRD%20Validation.shtml#3ScriptAnchor_)
- [Saxon/Saxon Validate](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Saxon/Saxon%20Validate.shtml#1ScriptAnchor_)
- [Saxon/Saxon Visualize electronic Invoices](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Saxon/Saxon%20Visualize%20electronic%20Invoices.shtml#3ScriptAnchor_)
- [Saxon/Saxon XPath](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Saxon/Saxon%20XPath.shtml#1ScriptAnchor_)
- [Saxon/Saxon XQuery MrWatsons Examples](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Saxon/Saxon%20XQuery%20MrWatsons%20Examples.shtml#1ScriptAnchor_)
- [Saxon/Saxon XQuery](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Saxon/Saxon%20XQuery.shtml#1ScriptAnchor_)
- [Saxon/Saxon XSLT](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Saxon/Saxon%20XSLT.shtml#1ScriptAnchor_)
- [Saxon/Saxon ZUGFeRD Validation](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Saxon/Saxon%20ZUGFeRD%20Validation.shtml#3ScriptAnchor_)

### Blog Entries

- [Validate electronic invoices with Saxon](https://www.mbsplugins.de/archive/2026-03-20/Validate_electronic_invoices_w/monkeybreadsoftware_blog_filemaker)
- [Visualize electronic invoices with Saxon](https://www.mbsplugins.de/archive/2026-03-16/Visualize_electronic_invoices_/monkeybreadsoftware_blog_filemaker)
- [Validate electronic invoices with Saxon](https://www.mbsplugins.de/archive/2025-02-18/Validate_electronic_invoices_w/monkeybreadsoftware_blog_filemaker)
- [Visualize electronic invoices with Saxon](https://www.mbsplugins.de/archive/2025-02-17/Visualize_electronic_invoices_/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

Created 23th December 2024 , last changed 18th May 2025

  
[Saxon.LicenseeName](SaxonLicenseeName.md) - [Saxon.ParameterNames](SaxonParameterNames.md)

[HTML Version](SaxonLoad.shtml)