Skip to content

Improve the xee-xpath::Documents docs #130

Merged
faassen merged 5 commits intoPaligo:mainfrom
pachi:main
Jan 5, 2026
Merged

Improve the xee-xpath::Documents docs #130
faassen merged 5 commits intoPaligo:mainfrom
pachi:main

Conversation

@pachi
Copy link
Contributor

@pachi pachi commented Nov 7, 2025

When exploring xee-xpath after using a bit Xot it was not clear to me how they were related and this tries to help other new users, trying to make clearer how the Documents struct relates to the underlaying xee-interpreter::xml::Documents and Document structs, which have useful methods and how they fit with Xot.

I wonder if having in Xot itself a Documents struct that can be later used (or reexported) by xee-xpath would be better, as it looks like a higher level utility for general XML handling while xee-xpath looks like more like an specialized helper. In fact, I have been using Xot and making my own bag of Xot arena + root nodes collection until I needed xpath and found Documents was exactly what I was looking for.

I would expect other new users to start with Xot and grow from there their knowledge of the related crates.

Rafael Villar Burke added 5 commits November 7, 2025 12:12
…nt more accesible from xee-xpath::documents::Documents
…_interpreter::xml::Document and Xot.

This should make a bit clearer the overall picture and how Xot and xee-path relate, and the usefulness of the xee-xpath::Documents collection and its underlaying xee_interpreter::xml::Document, which has a bunch of useful methods.
@faassen faassen merged commit af9afa3 into Paligo:main Jan 5, 2026
1 check passed
@github-actions github-actions bot mentioned this pull request Jan 5, 2026
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