Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Saxon.Load
Loads newer Saxon library.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Saxon | 15.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No |
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/
Examples
Load the library on Mac:
Set Variable [ $r ; Value: MBS("Saxon.Load"; "libsaxon-pec-12.5.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: "libsaxon-pec-12.5.0.dylib" ]
Else If [ MBS("IsWindows") ]
Set Variable [ $path ; Value: "libsaxon-pec-12.5.0.dylib" ]
Else If [ MBS("IsLinux") ]
Set Variable [ $path ; Value: "libsaxon-pec-12.5.0.so" ]
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") ]
End If
See also
Example Databases
- DynaPDF/ZUGFeRD and Facture-X/ZUGFeRD Validation
- Saxon/Saxon Validate
- Saxon/Saxon Visualize electronic Invoices
- Saxon/Saxon XPath
- Saxon/Saxon XQuery MrWatsons Examples
- Saxon/Saxon XQuery
- Saxon/Saxon XSLT
- Saxon/Saxon ZUGFeRD Validation
Blog Entries
This function checks for a license.
Created 23th December 2024, last changed 1st January 2025
