fm-saxml-converter
Generate structured, navigable documentation from FileMaker Pro Save a Copy as XML exports.
fm-saxml-converter turns a FileMaker SaveAsXML file into a folder of cross-linked Markdown pages — one file per table, field, layout, layout object, script, relationship, custom function, and value list — backed by a normalized JSON model of the solution. Optionally it adds a browser viewer, and tools that let AI agents query the solution.
The CLI is exposed as fm-saxml.
Why this exists
A FileMaker SaveAsXML export contains everything about a solution, but the raw XML is not readable, not navigable, and not stable across FileMaker versions. This project produces a documentation layer that is:
- Human-readable — Markdown pages with consistent headings, summary tables, and per-entity backlinks.
- AI-readable — predictable structure, machine-parseable front matter, and JSON sidecars for indexing.
- Linkable — every reference between entities (script step → field, layout → table occurrence, calculation → custom function) becomes a link, with "Used By" lists on the other end.
- Safe to share — credentials and other secrets are replaced with placeholders before anything is written.
Requirements
- A FileMaker Pro
Save a Copy as XMLexport - Python 3.11+
Quick start
-
In FileMaker Pro: Tools → Save a Copy as XML…
-
Run the converter on that file:
fm-saxml MySolution.xml -
Open the new
MySolution_docsfolder that appears next to your XML file.
Add --open to have the folder opened for you. Run fm-saxml doctor if something doesn't work and include its output in any bug report.
Installation
Install with pipx (or uv):
pipx install fm-saxml-converter # or run without installing: uvx --from fm-saxml-converter fm-saxml MySolution.xml
To install from source, see the technical README.
Updating
Check your version with fm-saxml --version, then upgrade the same way you installed:
| Installed with | Update command |
|---|---|
pipx |
pipx upgrade fm-saxml-converter |
uv tool install |
uv tool upgrade fm-saxml-converter |
pip |
pip install -U fm-saxml-converter |
uvx |
uvx --from fm-saxml-converter@latest fm-saxml ... |
When a newer version exists, fm-saxml prints a one-line notice after a run (checked at most once a day, never blocks, silent in CI and when output is piped). Disable it with FM_SAXML_NO_UPDATE_CHECK=1.
Usage
Most of the time, this is all you need:
fm-saxml <export file or folder>
The docs are written to <input name>_docs next to the input. Use --out <folder> (or -o) to put them somewhere else. If the output folder already has files in it, you'll be asked before they're overwritten; --force (or -f) skips the question.
Converted docs are local output: build them from your own export and don't commit them. To keep every solution in one place, set FM_SAXML_DOCS_ROOT (or pass --docs-root): each build then goes to <docs root>/<solution>, where tools find it with fm_saxml.find_docs("<solution>"). A rebuild swaps the new docs in only once they're complete.
Multi-file solutions
FileMaker Pro 26 can Save a Copy as XML for several files at once. Point fm-saxml at the folder it wrote:
fm-saxml ./SaXML_PROD_2026-10-14
Each file gets its own subfolder, and references from one file into another become links between them. See Multi-file solutions for the details.
Commands and options
fm-saxml <file> is shorthand for fm-saxml build <file>. Run fm-saxml <command> --help for every option. The technical README lists every command and option, plus CI flags, progress output for scripts and pipes, the output layout, and known limitations.
Documentation
| Document | Covers |
|---|---|
| HTML viewer and WebMCP | --html, --webmcp, serve, and the agent tools |
| Secret and personal-data scrubbing | What is redacted, scrub levels, and the scrub command |
| Multi-file solutions | Building a folder of exports from FileMaker 26 |
| Comparing exports | The diff command |
| JSON contract | entities.json, references.json, backlinks.json, external-references.json: shapes, docIds, versions and JSON Schemas, for tools that read the docs |
| Names written in text | GetField, Set Field By Name, Perform Script by name, ExecuteSQL ...: what breaks on rename, Reports/indirection.md and rename-check |
| Technical README | Commands and options, progress output, reading the docs from Python, pipeline, output layout, coverage report, development, FileMaker XML notes, known limitations |
License
The secret-detection rules in src/fm_saxml/scrub/ are adapted from the FileMaker XML Scrubber by Andrew Kear, Clockwork Creative Technology, used under CC BY 4.0.
Metadata
Release files for fm-saxml-converter 0.6.12
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| fm_saxml_converter-0.6.12.tar.gz | 455.1 kB | With provenance | Details for fm_saxml_converter-0.6.12.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| fm_saxml_converter-0.6.12-py3-none-any.whl | Python 3 | none | any | Details for fm_saxml_converter-0.6.12-py3-none-any.whl |
Total release size: 815.4 kB
Release files / fm_saxml_converter-0.6.12.tar.gz
| Download URL | fm_saxml_converter-0.6.12.tar.gz |
|---|---|
| Size | 455.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
10bfd4e1ffe7214ec2ffe08ae393132a14e8a6e7d9781aae0256c1c50c5f3d4d
|
|
BLAKE2b-256 checksum How to use checksums |
a78def9e95b69abe6aec03dbde7168145fd0197c985bc07cf88cf182cb880df6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 30, 2026.
Transparency logRelease files / fm_saxml_converter-0.6.12-py3-none-any.whl
| Download URL | fm_saxml_converter-0.6.12-py3-none-any.whl |
|---|---|
| Size | 360.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4e095fa163ef294fdf9044e8c235e3d66fdaed66e97611a91462e522dff28b84
|
|
BLAKE2b-256 checksum How to use checksums |
2849ee9b0c61ad10ba158957f3ba3cf4270aa989b8bad79e9d3f98e92be7a239
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 30, 2026.
Transparency logSecurity for fm-saxml-converter 0.6.12
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for fm_saxml_converter-0.6.12.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 30, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.