Fix legislation XML parser for actual BWB response format

↗ view on GitHub · Claude · 2026-05-04 · 177826a6

Response uses <record> not <srw:record>, and has rechtsgebied
not description. Also deduplicate results by BWB ID since
the API returns multiple versions of the same law.

https://claude.ai/code/session_016JxWnFc3baeDgkzDgxY6ex
Repository Jeroen1991z/mikeNL
Author Claude <noreply@anthropic.com>
Authored
Committed
Parents dc55a874
Stats 1 file changed , +16 , -18
Part of Dutch legal search tools (rechtspraak.nl + wetten.overheid.nl)

Capture this commit into my fork

Download a Markdown prompt that tells Claude how to port this exact commit into your working tree. Run it via claude -p < capture-commit-177826a6.md from inside the repo you want the change in.

⬇ Download capture-commit-177826a6.md