Skip to main content

fm-saxml-converter

PyPI version Python versions License: MIT CI Release

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 XML export
  • Python 3.11+

Quick start

  1. In FileMaker Pro: Tools → Save a Copy as XML…

  2. Run the converter on that file:

    fm-saxml MySolution.xml
    
  3. Open the new MySolution_docs folder 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

MIT

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.15

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fm-saxml-converter 0.6.15
File Size Uploaded Provenance Actions
fm_saxml_converter-0.6.15.tar.gz 944.8 kB With provenance Details for fm_saxml_converter-0.6.15.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for fm-saxml-converter 0.6.15
File Interpreter ABI Platform Actions
fm_saxml_converter-0.6.15-py3-none-any.whl Python 3 none any Details for fm_saxml_converter-0.6.15-py3-none-any.whl

Total release size: 1.8 MB

Release files / fm_saxml_converter-0.6.15.tar.gz

Download URL fm_saxml_converter-0.6.15.tar.gz
Size 944.8 kB
Tags Source
SHA-256 checksum
How to use checksums
8ba51c041dfd488bbece5164aa5341a6fb4ebead277a5cf8d376807038cb0e6d
BLAKE2b-256 checksum
How to use checksums
9780cb1ee23b2e61429f2749494b630ddb0b09839d6487382b198843a2d8c27d
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 Nov 12, 2026.

Transparency log

Release files / fm_saxml_converter-0.6.15-py3-none-any.whl

Download URL fm_saxml_converter-0.6.15-py3-none-any.whl
Size 846.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b193f70a2605bf4166923742091649e9127a5cbe9ff63a903e039041d4a8e90e
BLAKE2b-256 checksum
How to use checksums
6705d73d84d8508d1c6b789773828d903bb56e597164dc188abed0b81bdf8263
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 Nov 12, 2026.

Transparency log

Security for fm-saxml-converter 0.6.15

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.

Select from 2 files

Attestation for fm_saxml_converter-0.6.15.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 Nov 12, 2026.

Transparency log

A 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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page