microsoft / microsoft/markitdown
XML files not supported
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 186k
- Forks
- 13.7k
- Avg merge
- 1d 4h
- Merged PRs (30d)
- 49
Description
I'd like to reopen an issue that I commented on (https://github.com/microsoft/markitdown/issues/281) that was subsequently closed. Perhaps I'm missing something basic, but XML files do not seem to work with this library out of the box. My comment from the other thread is copied here:
I am encountering an issue with XML files:
markitdown._markitdown.UnsupportedFormatException: Could not convert 'file.xml' to Markdown. The formats ['.xml', '.xml', '.docbook', '.qtl', '.rng'] are not supported.
OS: MacOS 15.1
markitdown version: 0.0.1a3
python version: 3.13.1
I installed via:
uv venv
source .venv/bin/activate
uv pip install markitdown
And then ran:
markitdown file.xml > document.md
Yielding the error above. The same error appears when using the Python API directly as suggested in the README.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the failure using the documented markitdown file.xml command and the Python API described in the README. Trace how .xml is classified as unsupported, then verify that an XML input converts to Markdown through both interfaces.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100