Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose a way to iterate over DeEvents #799

Open
iliazeus opened this issue Aug 29, 2024 · 1 comment
Open

Expose a way to iterate over DeEvents #799

iliazeus opened this issue Aug 29, 2024 · 1 comment

Comments

@iliazeus
Copy link

Right now, there are two main ways to use this library:

  • a rather low-level one, using a Reader
  • a very high-level one, with serde

I would like to have an in-between option, one that still has a pull-based interface, but that would still do a lot of the low-level stuff by itself - like gluing together and trimming Texts, for example.

From what I understand, such an interface already exists internally - I mean the de::XmlReader::next() function, which satisfies all of the above. However, it is not currently exposed publicly, even though the DeEvents themselves are.

@Mingun
Copy link
Collaborator

Mingun commented Aug 29, 2024

Yes, I plan to do such intermediate interface, I outlined a very brief sketch of it in #766 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants