Skip to content

docs(lua): add xml module reference - #55

Merged
wolfy-j merged 2 commits into
mainfrom
docs/xml-module
Nov 12, 2026
Merged

wolfy-j merged 2 commits into
mainfrom
docs/xml-module

Conversation

@wolfy-j

@wolfy-j wolfy-j commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

Reference page for the new xml Lua module (wippyai/runtime#1062), added under Data Formats next to TOML.

It covers:

  • the element shape and namespaces
  • decode and encode
  • the helpers and paths
  • record selection for large documents and the cursor
  • the writer, and constant-memory transforms with reader:copy
  • reader and writer options and limits
  • what the parser accepts, and errors

The xml.find example, its missing-result and malformed-prefix cases, and the streaming transform were verified against the published runtime v0.3.61a. The earlier example checks also produced the documented values and output.

The final pass documents bounded-dispatcher admission errors and clarifies which writer limits apply to streamed output. Parse/I/O failure handling is distinguished from a command rejected before execution.

English reference page and Data Formats navigation entry. All three repository validators pass: Markdown links, frontend documentation and Attention Context documentation.

@wolfy-j
wolfy-j requested a review from skhaz November 10, 2026 01:27
@wolfy-j
wolfy-j merged commit 5a99e1c into main Nov 12, 2026
1 check passed
@wolfy-j
wolfy-j deleted the docs/xml-module branch November 12, 2026 00:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants